NexusFi: Find Your Edge


Home Menu

 





PriceActionSwing discussion


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Silvester17 with 177 posts (570 thanks)
    2. looks_two dorschden with 99 posts (1,124 thanks)
    3. looks_3 Big Mike with 52 posts (90 thanks)
    4. looks_4 jmont1 with 51 posts (23 thanks)
      Best Posters
    1. looks_one dorschden with 11.4 thanks per post
    2. looks_two Silvester17 with 3.2 thanks per post
    3. looks_3 Big Mike with 1.7 thanks per post
    4. looks_4 sudhirc with 1.7 thanks per post
    1. trending_up 965,025 views
    2. thumb_up 2,947 thanks given
    3. group 613 followers
    1. forum 2,093 posts
    2. attach_file 615 attachments




 
Search this Thread

PriceActionSwing discussion

  #231 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,143

Hi trendisyourfriend,

There is an option under the category "Swing values" called "Show duration" to show the number of bars it takes to form the swing, but the actual time isn't shown. But this could relative easily implement. Maybe I'll add this option, when I make the next update.

dorschden

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Futures True Range Report
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
26 thanks
The Program
18 thanks
  #232 (permalink)
inmax
Poland
 
Posts: 16 since Oct 2010
Thanks Given: 11
Thanks Received: 2

dorschden,

Is it possible to show the swings/trend/colorOFbars by the number of points/pips/ticks (not by the number of bars - as it is now) ?
Is there a chance to add such a functionality in the future?
This will help to define the trend on the size of swings in pips depending on the volatility.

Regards,
inmax

Reply With Quote
  #233 (permalink)
 maxreturn 
Grand Rapids, Michigan, United States
 
Experience: Intermediate
Platform: NinjaTrader
Trading: TF, 6E
Posts: 319 since Dec 2010
Thanks Given: 264
Thanks Received: 114



dorschden View Post
Hi Chuck,

the volume used for the swings is the whole volume of all bars in the swing and the part of the volume of the bar, that makes the swing. For example on a 5 minute chart, the bar makes a new low after 1 minute, then only the volume of the first minute is used and the other 4 minutes aren't.

Do you see a big difference between the standard calculation mode and the Zig Zag UTC? Earlier I also used the Zig Zag UTC version but with the time I preferred the standard mode.

dorschden

Hello Dorschden. Thanks for the explanation on the volume. As for the UTC vs. Standard, for some reason I get much more reliable results using the UTC, at least when applying the indi to Renko bars. That leads me to a suggestion. Could you modify the indi to include an option to choose to base swings either on the highs and lows or closes? The reason that I ask is that often I have noticed on either SbSRenko or BetterRenko charts that quite frequently there are double tops and bottoms that form based on the close. I have attached an image to show you what I mean. This is a 6 tick SbS renko chart of the TF. I have chosed ZigZagUTC and 2 bars for "calculation size". Notice that if an option were available based on the "close" one double top and three double bottoms would have been highlighted (see chartreuse lines). Thanks for your consideration.

Best Regards
Chuck

Attached Thumbnails
Click image for larger version

Name:	DTDB.jpg
Views:	513
Size:	79.6 KB
ID:	41449  
Reply With Quote
Thanked by:
  #234 (permalink)
mystiq
new york, new york
 
Posts: 49 since Apr 2010
Thanks Given: 62
Thanks Received: 9


dorschden View Post
Hi Chuck,

the volume used for the swings is the whole volume of all bars in the swing and the part of the volume of the bar, that makes the swing. For example on a 5 minute chart, the bar makes a new low after 1 minute, then only the volume of the first minute is used and the other 4 minutes aren't.

Do you see a big difference between the standard calculation mode and the Zig Zag UTC? Earlier I also used the Zig Zag UTC version but with the time I preferred the standard mode.



Hi mystiq,

For this you don't need to change the code. Just open a market analyzer and add an indicator column with the PriceActionSwingIndicator and in the "Plot" line in choose "SwingRelation". See the picture.



dorschden


thanks...i was able to follow the steps to load but came upon this error:

The type or namespace name 'GridCategory' could not be found (are you missing a using directive or an assembly reference?)

i copied the .cs files to the ...bin/custom/indicator like the steps on page1..any suggestions?

Reply With Quote
  #235 (permalink)
 
mokodo's Avatar
 mokodo 
Bridgwater, UK
 
Experience: Beginner
Platform: Ninjatrader
Broker: MB Trading
Trading: Forex
Posts: 385 since Jun 2011
Thanks Given: 525
Thanks Received: 348

Hello Dorschden, firstly thanks for the great work you've put into this. Clearly very appreciated by very many of us.

I've taken a look at the features and can not see if your indi has an option to visualise Highs or Lows that initially plot, but are then adjusted before fixing once the next leg starts it's search.

If not does anyone know of other indis that have such a feature. I've looked at several options but not yet found this.

Why am I asking? I want to back test my trend following system to identify false positive entry points. Happy to post up or PM anyone that can help out and is interested in the results.

Thanks in advance

Visit my NexusFi Trade Journal Reply With Quote
  #236 (permalink)
mystiq
new york, new york
 
Posts: 49 since Apr 2010
Thanks Given: 62
Thanks Received: 9


mystiq View Post
thanks...i was able to follow the steps to load but came upon this error:

The type or namespace name 'GridCategory' could not be found (are you missing a using directive or an assembly reference?)

i copied the .cs files to the ...bin/custom/indicator like the steps on page1..any suggestions?


Edit the indicator and change
from:
[GridCategory("Parameters")]
to:
[Category("Parameters")]

Reply With Quote
  #237 (permalink)
mystiq
new york, new york
 
Posts: 49 since Apr 2010
Thanks Given: 62
Thanks Received: 9


mystiq View Post
Edit the indicator and change
from:
[GridCategory("Parameters")]

to:
[Category("Parameters")]


now i get "upStatSwing....dnStatSwing...doesnt exist ...message..

can anybody provide the corrected .cs files for nt6.5?

Reply With Quote
  #238 (permalink)
no111
NED
 
Posts: 34 since May 2010
Thanks Given: 7
Thanks Received: 8

When I paste the code into a strategy from the first post, I can't use activate the strategy anymore on a chart.
How is that possible?

Thanks.

Reply With Quote
  #239 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


mystiq View Post
now i get "upStatSwing....dnStatSwing...doesnt exist ...message..

can anybody provide the corrected .cs files for nt6.5?

its written for nt7, your only option is upgrade to nt7

Reply With Quote
Thanked by:
  #240 (permalink)
no111
NED
 
Posts: 34 since May 2010
Thanks Given: 7
Thanks Received: 8



no111 View Post
When I paste the code into a strategy from the first post, I can't use activate the strategy anymore on a chart.
How is that possible?

Thanks.

When I add/remove this it won't/will work anymore:

 
Code
                            
             int trend Convert.ToInt32(swingTrend[0]); 
  switch (
trend
  { 
  case -
1
    
// Down trend - do something 
    
break; 
  case 
1
    
// Up trend - do something 
    
break; 
  default: 
    
// No trend - do something or nothing 
    
break; 
  } 

Reply With Quote




Last Updated on January 7, 2024


© 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