PureBytes Links
Trading Reference Links
|
When I add the following code to a Signal that I'm using in a strategy
If LastBarOnChart then begin
Print(newline + GetSymbolName + ", "+ NumToStr(NetProfit,2)+"
Profit"+" " + NumToSTr(PercentProfit,1)+" %,
"+NumToStr(MaxIDDrawDown,2)+" MaxDD"+" " + NumToStr(Barnumber,0)+"
Bars, "+NumToStr(TotalTrades,0)+" Trades");
End;
{The print statement is all on one line in the Power Editor}
I will get six lines in my Debug window:
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84250 Bars, 2324 Trades
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84251 Bars, 2324 Trades
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84252 Bars, 2324 Trades
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84253 Bars, 2324 Trades
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84254 Bars, 2324 Trades
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84255 Bars, 2324 Trades
ES M1, 18243.90 Profit 84.8 %, -569.70 MaxDD 84256 Bars, 2324 Trades
instead of just one.
Does anyone have any suggestions on what I'm doing wrong?
Thanks!
================
Dave Nadeau
Fort Collins, CO
|