I’ve not explored this thoroughly and will put in a ticket, but I have a code entering at or below 13870 and the low is 13869.4 the close is 13869.5
So the code should have bought when below 13870 which is clearly was.
However the program hasn’t kicked in and is running on the 1 second chart. So based on experience I’m wondering whether this is the server issue not always executing or whether its a coding issue in relation to what the servers see as the level… my spread is mid price on charts so a quick think and I’m wondering whether it may be seeing price differently to my price level as if not then its not coding and I cant rely onthe system to execute.
Anything obvious?
If flc=1 and c1 =1 and close <= myentry then
buy myamount perpoint at market
endif
If flc =1 and C2 = 1 and close >= myentry then
sellshort myamount perpoint at market
endif
Just to note this is for a manual entry of specific trades an dhas no associated orders other than the at market order to buy or sell
never mind that… maybe typos in code after amendments.. need to check