當前位置:編程學習大全網 - 源碼下載 - 如何在表上顯示MT4軟件的平均值?

如何在表上顯示MT4軟件的平均值?

寫壹段代碼!!

取移動平均線的值並顯示出來!!

void subPrintDetails()

{

string sComment =

字符串sp = "-\ n ";

字符串NL = " \ n

string sDirection =

雙S _ P;

雙D _ P;

sComment = sp

sComment = sComment +“我的MACD汽車交易系統”+NL;

s comment = s comment+sp;

s comment = s comment+" Profit _ FF = "+double tostr(Profit _ FF,0)+" | ";?

s comment = s comment+" Stops _ FF = "+double tostr(Stops _ FF,0)+NL;

s comment = s comment+" Profit _ FFF = "+DoubleToStr(Profit _ FFF,0)+" | ";?

s comment = s comment+" Stops _ FFF = "+double tostr(Stops _ FFF,0)+NL;

s comment = s comment+" flag _ ADX = "+double tostr(flag _ ADX,0)+NL;

s comment = s comment+" adx 1 = "+double tostr((iADX(NULL,0,14,PRICE_HIGH,MODE_MAIN,1)),Digits)+NL;

s comment = s comment+" FF _ FF = "+double tostr(FF _ FF,0)+" | ";

s comment = s comment+" C _ MACD[1]= "+DoubleToStr(C _ MACD[1],數字)+" | ";

//s comment = s comment+" C _ MACD _ 1 = "+DoubleToStr(C _ MACD[1],數字)+NL;

//s comment = s comment+sp;

//s comment = s comment+sp;

// sComment = sComment+"凈資產值="+double tostr (account equity(),digits)+" | "+nl;

//s comment = s comment+sp;

//s comment = s comment+sp;

//s comment = s comment+" account profit = "+doubletostr(account profit(),digits)+nl;

//s comment = s comment+" C _ low 14 _ 50 = "+double tostr(C _ low 14 _ 50,Digits)+NL;

//s comment = s comment+sp;

//s comment = s comment+" Lots = "+double tostr(Lots,2)+" | ";

//

//?s comment = s comment+" TT = "+double tostr(TT,數字)+NL;

//s comment = s comment+sp;?

評論(s comment);

//?return(0);

}

這是我自己的代碼,顯示的不是移動平均線,,,

  • 上一篇:js時間選擇插件哪個最好用 知乎
  • 下一篇:用手機做門禁卡是怎麽做的
  • copyright 2024編程學習大全網