Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Pivot_RS_session - MetaTrader 5 script | Forex indicator download - MT4/MT5 resources

author EAcpu | 5 reads | 0 comments |

Pivot_RS_session - indicator for MetaTrader 5

Pivot_RS_session - indicator for MetaTrader 5

Pivot_RS_session - indicator for MetaTrader 5

The indicator displays pivot levels and uses a special background color for the session during which the levels are calculated.

Indicator input parameters:

//+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Enter hour StartHour=H08; // Session start time
Enter the minute. Start minute = M00; // Session start minute.
Input units session time = 400 ; // Session time (minutes)
Input color color_session = plum ; // session color
Input color color_resolution= clear blue ; // Resistor color
Input color color_R30 = clear green ; // R30 level color
Input color color_R20 = clear green ; // R20 level color
Input color color_R10 = clear green ; // R10 level color
Input color color_P= clr dark orchid ; // color of P layer
Input color color_S10 = red blood cells ; // Color of S10 level
Input color color_S20 = red blood cells ; // Color of S20 level
Input color color_S30 = red blood cells ; // Color of S30 level
Input color color_Sup = magenta ; // support color
//---
Input style Style_Res = SOLID_; // Support line style
Input style Style_R30 = SOLID_; // R30 level line style
Input style Style_R20 = SOLID_; //R20 level line style
Input style Style_R10 = SOLID_; // R10 level line style
Input style Style_P = DASH_; // Line style of P layer
Input style Style_S10 = SOLID_; // S10 level line style
Input style Style_S20 = SOLID_; // Line style of S20 layer
Input style Style_S30 = SOLID_; // S30 level line style
Input style Style_Sup = SOLID_; // Resistance line style
//---
Input width Width_Res = Width_2; // Resistance line width
Input width Width_R30 = Width_1; // R30 level line width
Input width Width_R20 = Width_2; // R20 level line width
Input width Width_R10 = Width_3; // R10 level line width
Input width Width_P = Width_1; //P layer line width
Input width Width_S10 = Width_3; // Line width at S10 level
Input width Width_S20 = Width_2; // Line width of S20 layer
Input width Width_S30 = Width_1; // Line width of S30 layer
Input width Width_Sup = Width_2; // Width of support line

The indicator was first implemented in MQL4 and published in the code base of mql4.com on January 30, 2008.

Pivot_RS_session - indicator for MetaTrader 5

Indicator Pivot_RS_session


Attachment download

📎 pivot_rs_session.mq5 (15.39 KB)

Source: MQL5 #1971

Verification code Refresh