I am trying to add bars since exit condition to my trade logic, the code compiles however I am unable to enable the strategy with the line added. Can someone explain where I am going wrong? I am using Renko blocks could this be the issue, I'm guessing so. if this is the case how would I go about this?
if (BarsSinceExit() >= 5
&& XavTrend1 == -5
&& ScalpTrader == 2
&& adxshort_in > ADXshort)
)
{
{
EnterShort(lots, "DT+DT");
if (printtolog == true) Print("SHORT TRADE-----------RGAuto:");
}
Comment