In picture you can see Blue histogram under yellow line .This mean trend strength weak and soon will down.
In picture two/you see pink histogram over grey line .this mean downtrend strength weak and will up soon.
So I call its buffer and run EA.
I want to know how can be more accurate signal for this trend end filter by using this indicator.
My EA based on hedge grid.
So direction of trend is important to avoid wipe out account.
Please suggest the better way,
Code: Select all
double xoupblue = iCustom(NULL,0,"XO - choosable symbol ( 2 in 1 + arrows + alerts +mtf )",0,1);//blue line
double xodnpink = iCustom(NULL,0,"XO - choosable symbol ( 2 in 1 + arrows + alerts +mtf )",1,1);//pink
double xoupyellow = iCustom(NULL,0,"XO - choosable symbol ( 2 in 1 + arrows + alerts +mtf )",2,1);//YELLOW LINE < BLUE SURE UP
double xodngrey = iCustom(NULL,0,"XO - choosable symbol ( 2 in 1 + arrows + alerts +mtf )",3,1);//grey line > pinl line down
if(xoupblue < xoupyellow )return(sell);
if(xodngrey < xodnpink )return(buy);
//here its buffers
SetIndexBuffer(0,kr1); SetIndexStyle(0,DRAW_HISTOGRAM);//BLUE LINE
SetIndexBuffer(1,no1); SetIndexStyle(1,DRAW_HISTOGRAM);//PINK LINE
SetIndexBuffer(2,kr2);//YELLOW LINE < BLUE SURE UP
SetIndexBuffer(3,no2);//GREY LINE > PINk SURE DOWN
SetIndexBuffer(4,trend1);
SetIndexBuffer(5,trend2);
SetIndexBuffer(6,trend3);
SetIndexBuffer(7,count);
[code]