Help please newbie pro realtime

Andy-Pandy

Newbie
Messages
2
Likes
0
Guys I need some help, I am new to this forum and as such if my question has been answered somewhere then please point me at it.

writing code to back test, I use 2ma crossover using flatbefore/after to control hours and pprofit/pploss to control money.

Is there an instruction I can insert somewhere to stop the trade when pprofit is achieved until the next flatafter ?

Many times I have seen on the backtest that all my profit is taken out by a reverse of direction.

TKS
 
Top