Re: МТ4 Trading Systems: WORKSTATION

32
Moving Average Cross with Exit Expert Advisor
This is an interesting MA Cross Expert Advisor that includes Exit rules. The EA will exit a trade either by SL/TP hit or by exit rules given by opposite MA crossings, whatever comes first. Results are interesting because that MA3 (which can be half way between MA1 and MA2) helps to protect the trade anticipating a change of trend.
Expert Advisor Entry Rules:
- Go Long when MA1 crosses above the MA2
- Go Short when MA1 crosses below the MA2
Expert Advisor Exit Rules:
- The traditional SL, TP and TSL
- Close Long and Short trades when the MA1 crosses either the MA3 or MA2 in opposite direction of the entry trigger
Where:
- MA can be any of 17 different Moving Averaging methods
- Price Type, MA Method and MA Period for each MA can be changed
Notes:
- Two_MA_Cross_Indicator.mq4 required (installed in the Indicators folder)
EA Features:
- EA can be turned on and off
- Distance of Price with Slow MA to approve Entry (if too far away, trade is not executed)
- More than 1 trade can be opened at once
- Minutes to Wait for Next Open Trade
- Stop Loss, Take Profit and Trailing Stop Loss options
- AutoLots or Manual
- Trade Both Sides or only one direction
- Comments Displayed on Screen
- Optional Email and Sound Alerts

Re: МТ4 Trading Systems: WORKSTATION

33
Candlestick_Organizer_View
Doing this candlesticks organizer in MT4 was quite challenging. A replica of the chart candlesticks was made in a subwindow and then the "new chart" was generated following these rules:
If the current candlestick closes bearish, and the previous candle also closed bearish, the current one should be combined with the previous one > until a new bullish candle is formed and closes bullish. The same should be for bullish candlesticks.
The indicator can print the bullish/bearish bar right below the corresponding last bullish/bearish bar in the main chart or organize the presentation as a complete new chart.


Re: МТ4 Trading Systems: WORKSTATION

36
Best MACD final
Aug, 2017
Moving Average of Oscillator (OsMA), is an indicator that is calculated by taking the difference between a shorter-term moving average and a longer-term moving average. The two most common are the 12 period moving average and the 26 period moving averages. Because of this fact, it is best described as a modification of the classic MACD Indicator.


Who is online

Users browsing this forum: Applebot [Crawler], ChatGPT [Bot], Google [Bot], Grapeshot [Bot], Proximic [Bot], Ruby [Bot], rudiarius, Tradehunter, Tur005, vzulaks and 55 guests