coding help

To add comments, please log in or register
Ma1991Lak7
20
Ma1991Lak7  
The robot I work on opens multiple deals about the same price, I want to stop repeating trades from the same point. For example, if the price of 1.200 opens only one transaction regardless of its type, and continues until the condition is met again and opens one deal at the new price.
Question 2: I want to determine the maximum spread not exceeding 2 cents to open transactions, I wrote the condition as follows without benefit if (MarketInfo (Symbol), MODE_SPREAD) P> MaxSpread && MaxSpread! = 0) return; How this problem is resolved. Please help me quickly and thank you very much
To add comments, please log in or register