if(this.indPivAverage.ExtrnTrend[0] == 1 && lPiv != 0 && tsall == false) // Bullish trend Long Trades { if( lPiv == pp && tspp == true || lPiv == s1 && tss1 == true || lPiv == r1 && tsr1 == true || lPiv == s2 && tss2 == true || lPiv == r2 && tsr2 == true || lPiv == s3 && tss3 == true) // check for trading ban return; [COLOR="Red"]// WHAT CAN I USE HERE TO MOVE THE PROGRAM DOWN TO....[/COLOR] for(int a=0;a < strengthPiv;a++) { if(Lows[mBIP][a] > lPiv) { x++; } else break; } if( x == strengthPiv && Position.MarketPosition == MarketPosition.Flat && (pEntry == null || pEntry.LimitPrice != (lPiv + entryAllowance)) && oscSignalLong == true && lPiv != r3) { pEntry = EnterLongLimit(0,true, 1, Math.Max(lPiv + entryAllowance * TickSize, lPiv + (hPiv - lPiv)*0.25), "pEntry"); longLimit = lPiv; } x = 0; } if(this.indPivAverage.ExtrnTrend[0] == -1 && hPiv != 9999 && tsall == false) // [COLOR="Red"]HERE[/COLOR]
I cant use return as it then skips other other logic I need processed.
Comment