Forum

please help with this code

hello i am trying to make a code works with cross over 2 MA, the idea is when the fast MA cross the slow one it start a buy order with volume 0.01 and wait till the other cross in the second cross if the previous order have profit it will close it and start new sell order with volume 0.01 if not it

select last order by a specific symbol from history

hello! i need code to select last order for a specific symbol from history even if not in the same chart symbol, for example i am on EURUSD chart but i need to select the last order with USDJPY pair from history forgive me my bad english any help