Forum

What mean open_pricc on trade.Buy(volume,symbol,open_price,SL,TP,comment)

Hi, when I test EA strategy and put (for example random) open_price=9.999 program still open position. Why

trading with wrong open price

I use this function: void BuySample3() { //--- 3. example of buying at the specified symbol with specified SL and TP double volume=0.1; // specify a trade operation volume string symbol="EURUSD"; //specify the symbol, for which the operation is performed int