Lugano Switzerland
Posts: 11 since Apr 2016
Thanks Given: 6
Thanks Received: 3
|
Hello everyone,
I'm new in this forum and I'm also new with PowerLanguage. I never done backtesting via Multicharts, always used Excel.
So, now I'm beginning to code some of my strategies with PowerLanguage but I have huge problems in understanding how to write the stop loss and take profit in the code.
Starting from the basic, if for example I want to buy each Bullish Engulfing (that's not one of my strategy, it's only an example) placing a stop loss at low-2 pips with a super easy 1:1 risk:reward. Risk should be, for example, 1%. what should I write in the code?
PS: I'm not asking about how to code a Bullish Engulfing but only the basics info about stop loss, take profit, risk calculation
Thanks
|