Forum

3 or 4 MT4 instances on VPS

Hello, I actually run 3 instances of MT4 from 3 different broker on an external VPS. I would like to rent the MQL5 VPS and I wonder if I can do the same thing as I don't really understand how it works. Thanks

Calculation of SL

Hello, I have a problem coding my SL based on fractals. I took an EA existing on the net which works perfectly by putting SL on the opposite fractals when that way of calculate SL is set. I just invert Buy and Sell orders , but in this case it's always the maximum stop command which is used. The

How to code extern variable to choose the direction of trading in MT4 EA

Hello, I would like to implement a command in parameters to choose the direction of trading : Buy or Sell. Like in the example attached. What type of variable is it ? Bool ? I'm a real beginner in coding. Thanks for your help. Thierry

How to code a price EMA in a RSI windows

Hello, I suppose that it has already been donne, but I can't find it in the forum. I would like to code in an EA for MT4 a MA of price in a RSI window. My objective is to allow only buy orders when MA is under level 20 of RSI and sell orders when MA is over 80. Close orders will be when MA cross

Colored Stochastic

Hello, I'm looking for a stochastic indicator with the %D line turning green when it's up and red when it's down, like in the attached picture . I found one on this forum, but only tops and bottoms are colored. Thanks for your help Thierry