Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 24456
- Rating:
- Published:
- 2011.12.28 07:33
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator counts the Up bars (Close-Open) and Down bars (Open-Close).
Calculation:
n = Up bars (Close>Open, first bar=1, last bar=n)
m = Down bars (Close<Open)
Oscillator indicator, my opinion - use it for filtering of entry, when UpDownBars is above 0 go only short and when UpDownBars is below 0 go only long.
Inputs:
- UpDown_Period = 20 // period for calculation UpDown bar indicator
- Average_Period = 10 // period for calculation Moving Average on indicator
- Average_Method = Simple // method of Moving Average

This Expert Advisor is based on 3_Level_ZZ_Semafor indicators.

The InsideBars indicators can be used for trading with breakout Strategies.