NexusFi: Find Your Edge


Home Menu

 





N7 SwingHigh/Low DrawText


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 2 posts (1 thanks)
    2. looks_two ceramictilepro with 2 posts (0 thanks)
    3. looks_3 sam028 with 1 posts (0 thanks)
    4. looks_4 Trader.Jon with 1 posts (0 thanks)
    1. trending_up 3,090 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 1 attachments




 
Search this Thread

N7 SwingHigh/Low DrawText

  #1 (permalink)
 ceramictilepro 
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
Posts: 124 since Jun 2009
Thanks Given: 32
Thanks Received: 21

This is for N7

I am looking to be able and DrawText whenever this is a (Swing)Higher High or (Swing)Lower Low.

Also would like to be able and reference those swings so it can be backtested.

The pic below will hopefully illustrate what I am trying to accomplish.

Thanks!

Attached Thumbnails
Click image for larger version

Name:	N7SwingHighLow.png
Views:	390
Size:	27.3 KB
ID:	30213  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



ceramictilepro View Post
This is for N7

I am looking to be able and DrawText whenever this is a (Swing)Higher High or (Swing)Lower Low.

Also would like to be able and reference those swings so it can be backtested.

The pic below will hopefully illustrate what I am trying to accomplish.

Thanks!

You can use NinjaTrader's ZigZag or one of the improved other ZigZag indicaitors available here, such as ZigZagUTC and ZigZag_Sam_02.

As far as I know the NinjaTrader default ZigZag indicator has the highs and lows exposed, so you can access them via a strategy. Would just need to add some draw objects.

Reply With Quote
Thanked by:
  #4 (permalink)
 ceramictilepro 
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
Posts: 124 since Jun 2009
Thanks Given: 32
Thanks Received: 21


Fat Tails View Post
You can use NinjaTrader's ZigZag or one of the improved other ZigZag indicaitors available here, such as ZigZagUTC and ZigZag_Sam_02.

As far as I know the NinjaTrader default ZigZag indicator has the highs and lows exposed, so you can access them via a strategy. Would just need to add some draw objects.


ok, i looked at sams zig zag indicator and my head popped off

can anyone tell me how i could reference the "last high" and check to see if the current high is higher?

thx!

Started this thread Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


ceramictilepro View Post
ok, i looked at sams zig zag indicator and my head popped off

can anyone tell me how i could reference the "last high" and check to see if the current high is higher?

thx!

You just need to call those ZigZagDots or ZigZagWave series, then scan the last n values and find out, which of those values contains the data that you need.

Or just ask Sam, whether he can modify the indicator by adding a few data series objects to expose the last and the second but the last high and low for each value of the Input Series.

Reply With Quote
  #6 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,371


Fat Tails View Post
You just need to call those ZigZagDots or ZigZagWave series, then scan the last n values and find out, which of those values contains the data that you need.

Or just ask Sam, whether he can modify the indicator by adding a few data series objects to expose the last and the second but the last high and low for each value of the Input Series.

Or, you can get and save the swing high/low's yourself by looping through the last n bars.

Reply With Quote
  #7 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


ceramictilepro View Post
ok, i looked at sams zig zag indicator and my head popped off
...

I'm not guilty !!!
As far as I remember, the ZigZag indicator I use to add stuff was not correctly wrote, and I didn't spent time to modify it's main logic.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #8 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


ceramictilepro View Post
This is for N7

I am looking to be able and DrawText whenever this is a (Swing)Higher High or (Swing)Lower Low.

Also would like to be able and reference those swings so it can be backtested.

The pic below will hopefully illustrate what I am trying to accomplish.

Thanks!

I suggest a look at the SwingRay indicator


From what you want to do I think the code in there can be modified without too much trouble.

TJ

Reply With Quote




Last Updated on February 7, 2011


© 2024 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 - Privacy Policy - Downloads - Top
no new posts