MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

The Freelance service is a place where you can order trading robots
To post a new code, please log in or register

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

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

2011.03.14 16:10
ZMFX all pivot levels

ZMFX all pivot levels - indicator for MetaTrader 4

| English Spanish Portuguese

votes: 2


Here is an indicator, which draws daily, weekly and monthly pivots, support and resistance levels. All lines are drawn from the beginning of the timeframe (daily levels - from the beginning of the day etc.).

You will be able to choose which timeframe (monthly, weekly, daily) pivots, support and resistance levels to show. Also, there is an option to choose any level color. For more information visit


In v2 corrected issue on smaller timeframes, when labels did not show on chart. Now You can adjust label position by Yourself. Also, added customization possibility to change pivot, support and resistance lines type and width.


Last comments | Go to discussion (10)
midworld08 | 15 May 2011 at 03:52

Well formatted code, easy to follow. Indi works well on H1 and above, but is not mush good for monitoring pivots on lower time scales as the labels are off the screen. Would be nice not to have to run the chart with "Chart Shift" enabled and still have th test label on the right of the screen. I run 6 currencies on the screen at a time, and I like seeing the pivots, but you can't get much data on 6 windows with chart shift enabled. Anyway much appreciated, I might have a play with it when time allows....

karcewzrokiem | 7 Dec 2011 at 15:47

Change in code all




And that will FIX problem with labels on ANY timeframes

karcewzrokiem | 7 Dec 2011 at 15:53

alco change this

extern double D_label_pos=1;
extern double W_label_pos=1.5;
extern double M_label_pos=5;

to this

extern double D_label_pos=1;
extern double W_label_pos=2;
extern double M_label_pos=3;

and that's it :D

wfws | 11 Oct 2012 at 17:24
Will you please add a link to the EX4 file as well.
shadowhunters | 4 Jun 2013 at 10:52

a perfect job and especially a very useful indicator, really really nice!!!!!!!  :-)