ENTRY token used for placing stops and targets

Login or Register

Please login or register in order to view and post in the Forum.

6 posts / 0 new
Last post
JeremiahBerndt
Last seen: 1 year 9 months ago
Joined: 11/06/2018 - 11:00
ENTRY token used for placing stops and targets

I am trying to base stops and targets off of where my entry was in a trading system. When I try to implement a simple rule such as, LAST>= (ENTRY+6) I keep getting filled in the backtesting at prices not 6 pts above my entry. I can see in the backtesting report what price I entered the trade and then I will see a stop or target price exiting just 1 pt away or less. Not sure what I am missing here. Thanks

0
JeremiahBerndt
Last seen: 1 year 9 months ago
Joined: 11/06/2018 - 11:00
Solved

use...

CL >= (ENTRY + 6) AND SET(V#10, ENTRY + 6)

and then use V#10 as your exit price. If you want 6 ticks...

CL >= (ENTRY + 6 * TINC) AND SET(V#10, ENTRY + 6 * TINC)

cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
ENTRY for Targets and Stops

If you want to consider the full bar, you would use HI instead of CL.  So if for a long target, you might use..

HI >= (ENTRY + 6 * TINC) AND SET(V#10, ENTRY + 6 * TINC)

and use V#10 as the Rule Price.  You would use the same type rule for a stop for a short trade.

For a stop for long trade (or target for short)...

LO <= (ENTRY - 6 * TINC) AND SET(V#10, ENTRY - 6 * TINC)

If you're using CL, you are essentially waiting on the bar to close before exiting.  And if you are doing that, and you want to get out right at your stop/target, then it makes more sense to use the full bar (and use the HI and LO prices).  Otherwise, if you're using CL in your rule, it probaly makes most sense to exit at CL because you won't know what CL is until bar is complete.

JeremiahBerndt
Last seen: 1 year 9 months ago
Joined: 11/06/2018 - 11:00
Hi and Lo

Wouldn't using the HI or LO tokens not necessarily work any different? because don't those numbers also need the bar to complete?

cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
Using HI and LO instead of CL

By using HI, you are basically checking to see if....at ANY point during the formation of the bar, did the price reach your target (or stop).  HI is obviously the extreme price that was reached in the upward direction.  Once a HI is formed, it will never go down (only up).  CL can change in both direction.  The HI LO range may be large, but the bar may close on the low.  So in that case, if you check CL, you are missing out on all the activity that moved price up to the HI (and would have gotten you out of your trade at your target).

JeremiahBerndt
Last seen: 1 year 9 months ago
Joined: 11/06/2018 - 11:00
Thanks

Ahh, i see. I wasn't thinking about it in those terms. Thanks