Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 23931
- 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
![Expert Advisor 3 Level ZZ Semafor](https://c.mql5.com/i/code/expert.png)
This Expert Advisor is based on 3_Level_ZZ_Semafor indicators.
![InsideBars](https://c.mql5.com/i/code/indicator.png)
The InsideBars indicators can be used for trading with breakout Strategies.