Created by: Scriptor
mq5 Code Author: barabashkakvn
Bruno is packed with five powerful trading strategies designed to enhance your trading experience:
- iADX Indicator (Average Directional Movement Index)
if (axd_plusdi[1] > axd_minusdi[1] && axd_plusdi[1] > 20.0) lot_buy *= InpSignalRatio; else if (axd_plusdi[1] < axd_minusdi[1] && axd_plusdi[1] < 40.0) lot_sell *= InpSignalRatio; - iMA (Moving Average) & iStochastic (Stochastic Oscillator)
if (ma_one[1] > ma_two[1] && sto_main[1] > sto_signal[1] && sto_main[1] < 80.0) lot_buy *= InpSignalRatio; else if (ma_one[1] < ma_two[1] && sto_main[1] < sto_signal[1] && sto_main[1] > 20.0) lot_sell *= InpSignalRatio; - iMACD (Moving Average Convergence/Divergence)
if (macd_main[1] > 0.0 && macd_main[1] > macd_signal[1]) lot_buy *= InpSignalRatio; else if (macd_main[1] < 0.0 && macd_main[1] < macd_signal[1]) lot_sell *= InpSignalRatio; - iMA (Moving Average) & iSAR (Parabolic SAR)
if (ma_one[1] > ma_two[1] && sar[1] > sar[2]) lot_buy *= InpSignalRatio; else if (ma_one[1] < ma_two[1] && sar[1] < sar[2]) lot_sell *= InpSignalRatio;
Each strategy boosts the initial lot size by the Signal Ratio whenever a signal is triggered. If both BUY and SELL signals occur at the same time, they will simply be ignored.
Remember, a BUY open signal also acts as a SELL close signal, and vice versa.
Comments 0