Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Lateral adjustment to True Marker Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jmeisen
Posted : Thursday, September 29, 2011 11:30:42 AM
Registered User
Joined: 6/5/2010
Posts: 27

When a condition is met and a True Marker is generated, it always is placed on the last, most current bar that completes the condition.  

Is it possible to adjust the placement of the Marker, by Offset, Real Code, or some other way, such that the Marker appears over a specific bar in the group of bars that create the condition.

For example, if I wish to find a specific 5-bar price pattern, such that the 3rd bar in the sequence is the highest high of the group, can the Marker be placed over that 3rd bar, instead of the 5th bar?

Thanks

jm

Bruce_L
Posted : Thursday, September 29, 2011 11:42:59 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It possible to make the adjustment, but you should never use such Conditions for backtesting. You just need to use negative offsets to represent future data:

If Price.High > Price.High(-2) AndAlso _
    Price.High > Price.High(-1) AndAlso _
    Price.High > Price.High(1) AndAlso _
    Price.High > Price.High(2) Then Pass

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jmeisen
Posted : Thursday, September 29, 2011 11:46:03 AM
Registered User
Joined: 6/5/2010
Posts: 27
Very nice.  I will note the caveat about backtesting too.  

Thanks Bruce.
Bruce_L
Posted : Thursday, September 29, 2011 11:48:31 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.