Ichimoku Cloud Expert

Ichimoku Cloud Expert

This is a starter expert for the ichimoku cloud using only the Senkou Span A and Senkou Span B lines. The strategy uses a basic assumption that when price enters the cloud it will generally cross to the other side. The expert here uses the Orchard Framework 3, specifically 3.02 …

Grid Trading Expert for MQL4/MQL5 using Orchard Framework 3

Grid Trading Expert for MQL4/MQL5 using Orchard Framework 3

This is my first tutorial on writing a grid trading expert. Caution – grid trading can lead to very large drawdowns. It is high risk. This covers the standard buy/sell at each level grid. It is a foundation for other grid trading tutorials to come. The expert here uses the…

MACD EMA Expert for MT4 and MT5

MACD EMA Expert for MT4 and MT5

This is the classic MACD crossover strategy with the combined moving average trend filter. Use the tutorial as the basis for building your own trading robot. This video uses classes developed in my earlier video “Use Common Classes to Write MQL4 and MQL5 Experts”. The key functions used are shown…

Use Common Classes to Write MQL4 and MQL5 Experts

Use Common Classes to Write MQL4 and MQL5 Experts

When I make videos about writing experts or indicators I usually make them for both MQL4 and MQL5. This naturally leads to some code that has to be conditional due to the differences. The conditional code that bothers me most is the difference in the way technical indicators are handled…

5 Minute Scalping Expert

5 Minute Scalping Expert

This is a tutorial based on a scalping strategy for 5 minute charts. I have had this strategy for a long time and don’t know the origin but the strategy itself is not extraordinary. I would expect it to be break even, possibly losing over time due to spreads and…

Using Custom Indicator Chart Objects in an Expert

Using Custom Indicator Chart Objects in an Expert

I have covered using iCustom to make custom indicator information available in your EA several times but there is one question that keeps appearing. If you have an indicator that actually draws signals on screen, like buy and sell arrows, how can you use that information in an EA? It’s…

Raise a Metatrader Alert on Price Movement in a Bar

Raise a Metatrader Alert on Price Movement in a Bar

Based on a request from a subscriber this is a simple indicator to raise an alert if the price moves more than a specified amount above or below the opening price for a bar, but only raise one alert for each direction. This indicator does not use a plot buffer…

Automatic Support/Resistance indicator using ZigZag

Automatic Support/Resistance indicator using ZigZag

To write an indicator drawing support and resistance lines you need a set of rules that a computer can follow to create those lines. This technique uses the ZigZag indicator to find potential S/R levels and then refines further by finding multiple points. The code here is a combination for…

Write an Expert for MT4 or MT5 using CCI and 2 Moving Averages

Write an Expert for MT4 or MT5 using CCI and 2 Moving Averages

This is an example of writing an expert advisor using a very basic strategy. The key information here is the comparison of 2 indicators which occur at different times. The strategy and detail about the code are explained fully in the video. This covers both MT4 and MT5, there are…

MT5 Trailing Stop Expert

MT5 Trailing Stop Expert

This is a function that you can use in your MT5 expert advisor to apply a standard points based trailing stop For the MT4 verison click here A trailing stop is nothing more than a stop loss that moves as price changes. For this standard trailing stop the rules are…

Scroll to Top