I have the following code
to book profit/loss with the EURUSD
Code: Select all
buy("Long") 100000 contracts next bar at buy_level stop;
SetStopPosition;
SetProfitTarget(trail_stop_short*100000);
setstoploss(trail_stop_short*100000);
Before I can add pyramiding I must switch "SetStopPosition" to "SetStopContract". I should expect no difference in performance for 1 Lot /100000 ? as max contracts is 1 lot... This is what I see with Futures and make sesnse to me..
I am seeing that when I use "SetStopContract" it get 'stuck' by trade number 5 meaning that it does not book out a profit defined by "SetProfitTarget(trail_stop_short*100000);"
Can "SetStopContract" be used with FX?
Seems only "SetStopPosition" works with FX - is this correct - does not seem right to me?
Regards