Set a stop loss x points from the average position price.
Points of the current instrument is equal to POINTSIZE
Syntax:
1 |
Set STOP PLOSS x |
Example :
1 2 3 4 5 6 7 8 9 |
myMACD = MACD[12,26,9](close) long = myMACD crosses over 0 IF NOT LongOnMarket AND long THEN BUY 1 CONTRACTS AT MARKET ENDIF //set stop loss at 50 pips/points from the average position price SET STOP PLOSS 50 |
I often have the problem that the STOP LOSS is too close set (error msg from IG)
Thats why when I enter the trade I ll add the min amount of Stop Loss like :
SET STOP %LOSS 2
For the NASDAQ thats already quite high and I would like it to reduce it after the first trade with
SET STOP PLOSS AnyNumberSmallerThan2Percent
but unfortunately it does not work, knows someone why?
Inside IG you can see the minimum sice off stopploss, if you stay to that and use “ploss” is shuld work.