DislikedLaoShr-
Yes. Its just another condition that must be either TRUE or FALSE.
Inserted Codeint TimeFrame=15; //Current TF = 30 TDI1now = iCustom(NULL,0,"TDI",RSI_Period,RSI_Price,Volatility_Band,RSI_Price_Line,RSI_Price_Type,Trade_Signal_Line,Trade_Signal_Type,4,i); //current bar green line //Lower TF TDI1nowLowerTF = iCustom(NULL,TimeFrame,"TDI",RSI_Period,RSI_Price,Volatility_Band,RSI_Price_Line,RSI_Price_Type,Trade_Signal_Line,Trade_Signal_Type,4,i); //current bar green lineIgnored
Here what I think might work (not sure where to start). I would think that I could have a timeframe string or something that list all the timeframes. so when the logic is checking it looks for the next lower or even 2 lower timeframes and comes back true of false. Then I can just say timeframe - 1 or 2 etc... and it will check 1 or 2 timeframes down. Is this possible?
TDI1now > TDI2now && TDI1now(timeframe-1) > TDI1now(timeframe-1)