Hi gelsasgelsas wrote:I am trying to use the value of trend direction& force but somehow there seems to be an issue.Nothing happens, how to test if it gets the value? What am I doing wrong?I use this iCustom (to check value of it on beginning of new candle):Code: Select all
double td = iCustom(NULL,PERIOD_CURRENT,"Trend direction & force index-",10,0,1); bool tdcall = td <= -0.8; bool tdput = td >= 0.8;
First,you are welcome here,thanks for joining us
then the code you are trying with is a decompiled code (even with wrong name),here is the original code,attached
regards