TRO_MULTI_TREND_BOXES
tro_mulit_trend_boxes1.gif
_TRO_MULTI_TREND_BOXES plots the trend for the time frames selected in the inputs:
Code:
extern bool USE.M1 = TRUE;
extern bool USE.M5 = TRUE;
extern bool USE.M15 = TRUE;
extern bool USE.M30 = TRUE;
extern bool USE.H1 = TRUE;
extern bool USE.H4 = TRUE;
extern bool USE.D1 = TRUE;
extern bool USE.W1 = TRUE;
extern bool USE.MN = TRUE;
I know it's not the most elegant way but it works...LOL!
_TRO_MULTI_TREND_BOXES computes the trend for each time frame, adds it up and divides by the number of time frames used.
ENHANCEMENT
User can specify the multiplier or "weight" for each time frame via input:
Code:
extern int MULT.M1 = 1 ;
extern int MULT.M5 = 1 ;
extern int MULT.M15 = 1 ;
extern int MULT.M30 = 1 ;
extern int MULT.H1 = 1 ;
extern int MULT.H4 = 1 ;
extern int MULT.D1 = 1 ;
extern int MULT.W1 = 1 ;
extern int MULT.MN = 1 ;
I give more weight to D1 and H1 for scalping.
MT4 CODE ATTACHED.