Multicharts網格程式碼

  • Multicharts網格程式碼

    Posted by 查理哥 on 2025/11/06 at 20:24

    這邊是元大期貨楊宗儒營業員寫的multicharts版網格程式碼,如果你對期貨程式交易有興趣,很建議到找他開戶,市場上最厲害的multicharts營業員,應該就他了,他在A+策略網也有帳號,有需要可以私訊他

    inputs: Highline(20000),Lowline (15000),step(10);

    vars: index(0), _steps(0), stpValue(0);
    array: stps[](0);

    once cleardebug;

    once Array_SetMaxIndex( stps, step – 1 );
    once _steps = step – 1;

    once stpValue = Round(( HighLine – Lowline ) / steps, 0);

    once for index=0 to _steps begin

    stps[ index ] = Lowline + ( index * stpValue );
    value1 = TL_new(D, time_S, stps[ index ], D, time_S, stps[ index 1);
    TL_setextright(value1,True);
    TL_setextleft (value1,True);

    end;

    查理哥 回覆 1 month 之前 1 會員 · 0 則回應
  • 0 則回應

尚未有任何回應

Log in to reply.