Forums › ProRealTime English forum › ProOrder support › Prevent SL and TP on the entrance candle › Reply To: Prevent SL and TP on the entrance candle
		04/26/2019 at 3:45 PM
		
		#97213
		
		
		
	
They behave the same, I tried this code on DAX, 1h TF:
| 
					 1 2 3 4 5 6 7 8  | 
						FastMA = average[5] SlowMA = average[20] MyAvg  = average[200] IF (FastMA CROSSES OVER SlowMA) AND (close > MyAvg) AND not OnMarket THEN    BUY AT MARKET    SET TARGET pPROFIT 100    SET STOP   pLOSS   0    //or 10000 or entirely commented out is the same ENDIF  |