NexusFi: Find Your Edge


Home Menu

 





Assigning value to swing high and low points: 2, 1, -1, -2


Discussion in Traders Hideout

Updated
    1. trending_up 127 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 71 since Oct 2015
Thanks Given: 42
Thanks Received: 22

Hello; I was hoping for some help.
What I am trying to accomplish is the following.

Whatever the last swing condition to print is on the chart, it will be one of the following.

HH: higher High (2)
LH: lower high (1)
LL: lower low (-1)
HL: higher low (-2)

At any given time, whichever of the 4 above conditions exist as the last printed swing condition, I would like a value assigned until the next swing condition prints on the chart. So for example, if we printed a new Higher High condition on the chart, a value of 2 would be the result for all future bars, until the condition was changed upon the next swing. I hope this makes sense, and that someone can point me in the right direction. Cheers.


Started this thread Reply With Quote




Last Updated on January 19, 2025


© 2025 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts