Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5111
- Rating:
- Published:
- 2022.05.01 06:54
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The idea of the indicator
The indicator counts (in percentage) how many times the 'Close' price has been above or below the 'iMA' indicator. The calculation period is equal to the indicator averaging period.
Please note: the 'iMA' indicator has been added to the main window manually for visualization purposes.
Rice. 1. Percentage of CLose and iMA prices

The color indicator shows in a separate window the moment if the intersection of two iMA (MOving Average, MA) was on the current bar

Trading strategy based on the custom indicator 'MA on Momentum'

Very simple indicator to plot the values of the spread[] data as reported by the OnCalculate event handler.

Colored Stochastic smoothed with iMA (Moving Average, MA)