Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2015.06.05 09:55

PrimeLevelsBlack - indicator for MetaTrader 4

| English Español Português Русский Deutsch 日本語

Published by:
Aleh Sasonka
votes: 16

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 


  • 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 PairsIndex

PairsIndex indicator shows the price index of 7 currencies dealing with 7 currency pairs.

Linear Momentum Linear Momentum

Simple implementation of physical calculation of Momentum.

SDX-TzPivots_3 SDX-TzPivots_3

Calculation of pivot and similar levels based on time zones.

LacusTstopandBE LacusTstopandBE

This Expert Advisor places Stop Loss and Take Profit for Buy, Sell, Buy Limit, Buy Stop, Sell Limit and Sell Stop orders.