Forums ProRealTime English forum ProOrder support how to change code between FX markets Reply To: how to change code between FX markets

#91879

Thanks guys for your help.

I shared parts of my code here, maybe it would make sense:

https://www.prorealcode.com/topic/using-floating-point-in-fx-markets/

 

the stackSize I need in a market such as EUR/JPY using 1yy.yyyy is usually 0.1-0.9 – i tried to manually plug 0.5 as a stacksize but still get 1. So I don’t know how to avoid this problem.

I do NOT have problems with the entry or exit points, everything else seems to work fine with out the pips so I don’t think “BUY stakeSizeLong CONTRACTS AT (myBuyprice+10*pipsize) stop” will help here. the amount of the order price is correct without the pips…

All this is new to me, so I am a bit confused as the same code worked perfectly well in DJI and also in GBP/USD where the price format is different.

Thanks again!