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

ShadeNY_candle - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

ShadeNY_candle - indicator for MetaTrader 5

Trading session indicator that displays the body and shadow of the generated session candlestick, using draw_fill buffer.

The indicator determines the width of the channel and the position of the session on the chart based on the values ​​of the following input parameters:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Enter hour StartHour=H07; // Session start time
Enter the minute. Start minute = M00; // Session start minute.
Enter the hour EndHour=H13; // Session end time
Enter the minute EndMinute=M00; // Session end minute
Input unit shift = 0 ; // Horizontal movement of the channel (in bars)

Depending on the orientation of the candlestick, its body is painted blue or pink, and the shadow is painted lime or red.

ShadeNY_candle - indicator for MetaTrader 5

Figure 1. Indicator ShadeNY_candle


Attachment download

📎 shadeny_candle.mq5 (11.59 KB)

Source: MQL5 #2097

Verification code Refresh