Pivot Indicator - Y's HiLo & B4Y's HiLo
Hi My Dear Friends,
Refer to my early posts on Pivot indicator setting acquired, so for not respond has acted.
Again, I'm posted the following code taken from the existing MT4 file hope someone who able to help to modify and add in the the followings:
2. Vertical line show on Today, yesterday & Beforeyesterday.
3. Pivot Resistance & Support 1, 2 & 3.
Your kind assistant is appreciated.
//| HiLo2DayBefore.mq4 |
//| Custom indicator initialization function |
//| Custom indicator deinitialization function |
//YLow, low of yesterday.
//YHigh, high of yesterday.
//B4YLow, low of before yestersay.
//B4YHigh, high of before yesterday.
//PP, pivot point.
//| Custom indicator iteration function |
yesterday_close = iClose(NULL,PERIOD_D1,1);
yesterday_high = iHigh(NULL,PERIOD_D1,1);
yesterday_low = iLow(NULL,PERIOD_D1,1);
before_yesterday_close = iClose(NULL,PERIOD_D1,2);
before_yesterday_high = iHigh(NULL,PERIOD_D1,2);
before_yesterday_low = iLow(NULL,PERIOD_D1,2);
//---- Calculate Pivots
//Comment("\nYesterday quotations :\nH ",yesterday_high,"\nL ",yesterday_low, "\nC ",yesterday_close,"\n\nBefore yesterday quotations :\nH ",before_yesterday_high,"\nL ",before_yesterday_low, "\nC ",before_yesterday_close);
double pivot = (yesterday_high + yesterday_low + yesterday_close)/3;// Standard Pivot
drawLabel("Low before yesterday",before_yesterday_low,Plum);
drawLabel("High before yesterday",before_yesterday_high,CornflowerBlue);
void drawLabel(string name,double lvl,color Color)
if(ObjectFind(name) != 0)
ObjectCreate(name, OBJ_TEXT, 0, Time, lvl);
ObjectSetText(name, name, 8, "Arial", EMPTY);
ObjectSet(name, OBJPROP_COLOR, Color);
ObjectMove(name, 0, Time, lvl);
void drawLine(double lvl,string name, color Col,int type)
ObjectCreate(name, OBJ_HLINE, 0, Time, lvl,Time,lvl);
if(type == 1)
ObjectSet(name, OBJPROP_STYLE, STYLE_SOLID);
ObjectSet(name, OBJPROP_STYLE, STYLE_DOT);
ObjectSet(name, OBJPROP_COLOR, Col);
Weekly, Monthly Open Line
Does anybody have an indicator like the one below -
for weekly and monthly open price line
with historical -
hi guy, I wanted to know if there is to know you volatily pivot indicator with alarm. I have not found anything
thanks a lot
Pivot Point Indicator
Anyone know where I can get a Pivot Point Indicator that leave last days lines one the chart? The ones I have change the lines daily making it hard to look back on the price action.
Check out this thread.
FiboPiv with Alert
Does anyone has FiboPiv with alert. That is Alert when price crosses the lines (S/R) . Or can anyone please add the alert. Thanks
does anyone have historic diag fiv level thx
Cam L5 needed
Can anyone of You add Cam L5 line to this indicator?
thank you in advance
to be precise - Cam L5 and H5 lines
Pivot line suggestion and requirement
i`m newbie in this trading sector.i really need suggestion and recommendation pivot line for support and resistant from senior..
thanks for advanced..
Please enable the necessary setting in your browser, otherwise you will not be able to log in.