Is there any way to make LastBarOnChart print work with stop orders like this below example;
Code: Select all
if (average(c,10)>c)then buy tomorrow at open tomorrow + 0.00001 stop;
if (average(c,10)<c)then sell short tomorrow at open tomorrow - 0.00001 stop;
if LastBarOnChart then print(d);
Thanks