NexusFi: Find Your Edge


Home Menu

 





Zig Zag UTC Swing error


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one dorschden with 3 posts (2 thanks)
    2. looks_two sharky with 2 posts (0 thanks)
    3. looks_3 Mauro_60 with 2 posts (0 thanks)
    4. looks_4 Eternum with 1 posts (0 thanks)
    1. trending_up 9,630 views
    2. thumb_up 2 thanks given
    3. group 8 followers
    1. forum 12 posts
    2. attach_file 8 attachments




 
Search this Thread

Zig Zag UTC Swing error

  #1 (permalink)
 
Mauro_60's Avatar
 Mauro_60 
Torino
 
Experience: Beginner
Platform: NinjaTrader
Broker: mirus
Trading: currency futures
Posts: 47 since Aug 2009
Thanks Given: 25
Thanks Received: 36

Hello, excuse my bad English.
I downloaded the indicator ZigZagUTCSwing but I think some calculations in the wrong way swing.
I am attaching a chart

Best regards
Mauro

Attached Thumbnails
Click image for larger version

Name:	ZiGZagUTC_error.GIF
Views:	528
Size:	53.6 KB
ID:	1389  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quant vue
Trading Reviews and Vendors
How to apply profiles
Traders Hideout
 
  #2 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,144

Hey Mauro_60,

it calculate the swings like it should and in most cases it identifies the same swings which you would also mark when you do it manually. Seldom this indicator identifies the swings not correctly, this is due to, that it try to find a new high/low, but the swing before is not finish. This problem is e.g. the result of a sequence of bars with long wicks (often by minute charts).

Set the "span parameter" to 2 or 4 and/or try a 50 range chart.

Attached Thumbnails
Click image for larger version

Name:	Mauro_60.png
Views:	489
Size:	76.7 KB
ID:	1390  
Reply With Quote
Thanked by:
  #3 (permalink)
 
Mauro_60's Avatar
 Mauro_60 
Torino
 
Experience: Beginner
Platform: NinjaTrader
Broker: mirus
Trading: currency futures
Posts: 47 since Aug 2009
Thanks Given: 25
Thanks Received: 36



dorschden View Post
Hey Mauro_60,

it calculate the swings like it should and in most cases it identifies the same swings which you would also mark when you do it manually. Seldom this indicator identifies the swings not correctly, this is due to, that it try to find a new high/low, but the swing before is not finish. This problem is e.g. the result of a sequence of bars with long wicks (often by minute charts).

Set the "span parameter" to 2 or 4 and/or try a 50 range chart.

Look carefully at your graph, even in your there is an error, a lower low is not identified, it is to be corrected.
best regards


Started this thread Reply With Quote
  #4 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

dorschden what is that indicator on the bottem of your chart?

Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 sukhsan 
Ottawa, Canada
 
Experience: Beginner
Platform: Ninja
Broker: Mirus,Zen-Fire
Trading: Currencies
Posts: 120 since Jun 2009
Thanks Given: 109
Thanks Received: 79


Mauro_60 View Post
Hello, excuse my bad English.
I downloaded the indicator ZigZagUTCSwing but I think some calculations in the wrong way swing.
I am attaching a chart

Best regards
Mauro

Try to use this indicator (Swing Temp)



SSS

Reply With Quote
  #6 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,144


Mauro_60 View Post
Look carefully at your graph, even in your there is an error, a lower low is not identified, it is to be corrected.
best regards


Yes, I know, but that's the way this indicator is calculated. But this fail identifications or not often. I had a quick look at the FDAX 50 range chart until 01.06.09 and I don't see any other errors.

Otherwise you can use Swing Temp (see sukhsan post) and Ninjapriceaction for the HH/LL.




sharky View Post
dorschden what is that indicator on the bottem of your chart?

This is the normal RSI. I only put some visual adds on this.

I only use it by the 3 or 5 minute chart at the beginning of the session. Or as a divergence trade for a gap close.

Attached Thumbnails
Click image for larger version

Name:	RSI.png
Views:	417
Size:	73.3 KB
ID:	1392  
Attached Files
Elite Membership required to download: RSI_MC.zip
Reply With Quote
Thanked by:
  #7 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

thanks i made a indicator thats looks somwhat like that but i cant get it to work like i want so i threw it in the bin,was trying to make a end of cycle indicator but no luck cant figure out how the eot guys made that one lol...sharky

Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 
Eternum's Avatar
 Eternum 
Washington, DC
 
Experience: Intermediate
Platform: Investor/RT, S5 Trader
Broker: Stage 5 Trading / IQFeed
Trading: ES
Posts: 22 since Jun 2009
Thanks Given: 6
Thanks Received: 17

dorschden,

I made some subtle changes to your indicator allowing "Text Offset" and "Line Width" to be stored in XML chart template (removed serialization restriction). Could you please tell me what changes I need to make so ZigZag dots have price markers? For now nothing appears on price axis regardless of "Price marker(s)" property setting (True or False).

Thanks!


Reply With Quote
  #9 (permalink)
gregor32
Prague
 
Posts: 23 since Aug 2009
Thanks Given: 0
Thanks Received: 3

With ZZ UTC if you don't have it set to calculate on bar close it will give a swing and then the price move the other way for ages and it will stay saying go the wrong way. If you refresh chart it previous swing might go away. Not calculate on bar close is not reliable things change to quick.

Reply With Quote
  #10 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,144



Eternum View Post
Could you please tell me what changes I need to make so ZigZag dots have price markers? For now nothing appears on price axis regardless of "Price marker(s)" property setting (True or False).

I never realize that the markers not work because I never used them for the swings. But I think the markers are only visible, when the plot is set (ZigZagDot.Set) and the plot is not set at each bar, only when a new swing is occured, so you don't have a marker. You can add a new plot and set it to lastHi/lastLo and then you should have the price markers but then you always have a line/dots in the chart.


gregor32 View Post
With ZZ UTC if you don't have it set to calculate on bar close it will give a swing and then the price move the other way for ages and it will stay saying go the wrong way. If you refresh chart it previous swing might go away. Not calculate on bar close is not reliable things change to quick.

I'm not sure, whether I understand your problem, my English is not so good.



You mean this situation? There is a new swing (lower high) and the price goes down but the indicator is still in an uptrend. That's normal. The reason is the "Span" parameter. A new swing is set when the span-value of bars are over. When you set span to 2 for example, then the indicator is in a downtrend.



Anyway, the indicator logic is not from me. I only add things for my trading to this indicator.

Reply With Quote




Last Updated on November 10, 2009


© 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