Participe de nossa página de fãs
Coloque um link para ele, e permita que outras pessoas também o avaliem
Avalie seu funcionamento no terminal MetaTrader 5
- Publicado por:
- Aleh Sasonka
- Visualizações:
- 23314
- Avaliação:
- Publicado:
- 2015.06.05 09:55
- Atualizado:
- 2016.11.22 07:32
-
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance
Real author:
Doblece, Domas4 & Traderathome
This indicator will place up to 6 lines, at prime levels of your choosing, in a successive pattern on the chart. You can have the pattern repeated as many times as you like. For example, you might select lines to be placed at the whole number, plus 20 pips, plus 33 pips, plus 50 pips, plus 66 pips, plus 80 pips and then the next whole number again. This range of lines can then be repeated both above and below this initial range. You can have as many levels of ranges above and below the initial range as you like. Or, you can select zero additional ranges and the initial range will automatically fill below or above the next whole number as the price moves there.
The lines can individually be of any color and style, and of any thickness when using solid lines. You can turn on/off each line individually. When lines are full screen wide, you can turn on/off the right margin price labels. You can select to have the lines stop at the current candle. Lines can be subordinated. To specify a level for a line just enter the last two digits of the price level.
The labels for the lines can be of any color, font size and font style. You can give the labels a name of your choice (example: Psych Level) and include the price. Labels can be positioned from right of the current candle (0), to far left (100), and they can be subordinated. Zooming in and out on the chart will displace the labels, but with the next data tick, their selected position is restored.
The indicator has an ON/OFF switch so you can turn the indicator off when the display of the prime levels is not desired, yet preserve your settings for the chart. You can also enter a time frame, above which the indicator will automatically not display. This enables switching to larger time frames for analysis, and having a chart clear of this indicator's display.
EURUSD.f, H1: PrimeLevelsBlack
EURUSD.f, M15: PrimeLevelsBlack
EURUSD.f, M5: PrimeLevelsBlack
Inputs page 1
Inputs page 2
Acknowledgments:
- Doblece: For the code enabling the indicator to work with platforms with unconventional Point digits number (0.00001 and 0.001). Also for adding two more customizable line levels which default to 66 and 33, as these are places where price usually stops and bounces.
- Domas4: For the code enabling the indicator to be set to automatically not display above any time frame, as set by the user.
- Shimodax: For the idea and some core code to get started with (ref: SweetSpots.mq4).
![PairsIndex](https://c.mql5.com/i/code/indicator.png)
PairsIndex indicator shows the price index of 7 currencies dealing with 7 currency pairs.
![Linear Momentum](https://c.mql5.com/i/code/indicator.png)
Simple implementation of physical calculation of Momentum.
![SDX-TzPivots_3](https://c.mql5.com/i/code/indicator.png)
Calculation of pivot and similar levels based on time zones.
![LacusTstopandBE](https://c.mql5.com/i/code/expert.png)
This Expert Advisor places Stop Loss and Take Profit for Buy, Sell, Buy Limit, Buy Stop, Sell Limit and Sell Stop orders.