Hi,
If you have a calculated Stop order on a limited hour graph on Friday 20:00 hr, garantueed by PRT, will this last during the whole weekend ? There are more real trading hours after 20:00 before the weekend begins, and a calculated Stop last just one bar.
KR Jan
=========== APPENDIX If needed, further explanation of my question ==============================================
Pro Real Time offers the opportunity to set a auto trading stop live with a garantueed stops, see attachet JPEG file, see the tickbox “Use garantueed Stops”
If you are using this, the garantueed stop is also applicable for the programmed trailing stops (see below), as far as I could see at my strategy, the garantueed stops moves up in a long position when the price moves higher.
To my understanding the programmed STOP last only one bar, after each bar it needs to be set again by calculating a new STOP on the next bar, which is done in the code below.
If you limit the trading time in PRT, the bars in the graph will be less than the actual trading bars : for example set trading time in the graph 8:00 hr till 22:00 hr for the DAX means that the hourly bars in the graph are less then in actual trading.
If you are using graph trading times, will the last programmed STOP of the day / before the weekend remains till the next graph based calculated STOP or erased by the next trading bar ?
Example Calculated stop Friday 22:00 hr = 11.100 garantueed by PRT , will this last during the whole weekend ?
Next calculated stop Monday 8:00 hr = 11.000
//resetting variables when no trades are on market
if not onmarket then
MAXPRICE = 0
MINPRICE = close
priceexit = 0
endif
IF EXCURSION>0 THEN
//case SHORT order
if shortonmarket then
MINPRICE = MIN(MINPRICE,close) //saving the MFE of the current trade
if tradeprice(1)-MINPRICE>=trailingstop*pointsize then //if the MFE is higher than the trailingstop then
priceexit = MINPRICE+trailingstop*pointsize //set the exit price at the MFE + trailing stop price level
endif
endif
//case LONG order
if longonmarket then
MAXPRICE = MAX(MAXPRICE,close) //saving the MFE of the current trade
if MAXPRICE-tradeprice(1)>=trailingstop*pointsize then //if the MFE is higher than the trailingstop then
priceexit = MAXPRICE-trailingstop*pointsize //set the exit price at the MFE - trailing stop price level
endif
endif
//exit on trailing stop price levels
if onmarket and priceexit>0 then
EXITSHORT AT priceexit STOP
SELL AT priceexit STOP
endif
ENDIF