NexusFi: Find Your Edge


Home Menu

 





needing plots for indi


Discussion in NinjaTrader

Updated
    1. trending_up 1,494 views
    2. thumb_up 6 thanks given
    3. group 3 followers
    1. forum 8 posts
    2. attach_file 10 attachments




 
Search this Thread

needing plots for indi

  #1 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

Hey Everyone,

I found this cool indicator through NT ecosystem. I would appreciate help with adding value plots for trending up bars and trending down bars. https://ninjatraderecosystem.com/user-app-share-download/paint-trending-bars/

Thank you
Abdus

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - May 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
41 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

Adding plots where, how?

I think you're saying you'd rather have some visual indicator of the HA color, but not have that color on the bars?

Do you want an indicator in a separate pane(like an oscillator)?

Do you want the plots to appear as a moving average of sorts, on the price panel?

Do you want to affix the plots to say the daily open, or something else?


EDIT
Here is an example of a random indicator that either plots green, red or blank. THe value is arbitrarily pinned to the Daily Open price(notice the dots). But this value could be plotted anywhere in any way.

Attached Thumbnails
Click image for larger version

Name:	2022-02-15_153949.png
Views:	76
Size:	71.9 KB
ID:	322233  
Reply With Quote
Thanked by:
  #3 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59


Hi @forrestang,

Thank you for the OTF indicator. I might have misworded what I was trying to say. I was looking for a way to use the indicator in the strategy builder as I don't have the skills to code otherwise.

Started this thread Reply With Quote
  #4 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

Added a plot called "MyState". This is in the attached, modified indicator.

This value can either be +1 or -1. If its positive, it is +1,etc.

2nd image shows selecting this plot in the strategy builder.

BUilt a simple strat, that ENTERS LONG if the PREVIOUS indie value(MyState) is -1, and the CURRENT indie value is +1. Arbitrary stop of 20 pips, tgt of 20 pips.

Attached Thumbnails
Click image for larger version

Name:	2022-02-18_143202.png
Views:	82
Size:	31.1 KB
ID:	322264   Click image for larger version

Name:	2022-02-18_144706.png
Views:	89
Size:	119.0 KB
ID:	322265  
Attached Files
Elite Membership required to download: cdkPainTrendBarMod.zip
Reply With Quote
Thanked by:
  #5 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

@forrestang,

Thank you so much! Could you also add the atr parameter? It makes a difference to how the indicator works.

Started this thread Reply With Quote
  #6 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047


Abusamjad91 View Post
@forrestang,

Thank you so much! Could you also add the atr parameter? It makes a difference to how the indicator works.

..

Attached Thumbnails
Click image for larger version

Name:	2022-02-18_173213.png
Views:	75
Size:	27.0 KB
ID:	322269  
Attached Files
Elite Membership required to download: cdkPaintTrendBar.zip
Reply With Quote
Thanked by:
  #7 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

Hey @forrestang,

Could you please help me do the same thing with this indicator? I tried to replicate your changes from the other indicator, but it messed up the chart. Also, this is a really good indicator for entries, exits, and filtering. I would like the colors (green and red of cStepMA) to act as 1 and -1, regardless of whether a bar on the chart is closing red below the green line (cStepMA). I would much appreciate your help and that of anyone else that decides to help.

Thank you
Abdus

Attached Files
Elite Membership required to download: cStepMA.cs
Started this thread Reply With Quote
  #8 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

Just a note, this and the other indicator are a bit screwy. It looks like it has had a lot of hands in there, and it seems there are things missing.

This indicator looks like an old NT7 indicator, that was ported over to work in NT8, but does not have the typical structure of NT8.

Added plot called "MyState."

By default, I set it to transparent so that it doesn't awkwardly scale the chart, but for some reason, it doesn't show up in the properties section, and I think this is b/c the script is missing the normal "State.SetDefaults", and instead uses NT7 structure.

However, it should be accessible from within the strategy builder as shown in the image.

Attached Thumbnails
Click image for larger version

Name:	2022-02-26_100852.png
Views:	60
Size:	28.6 KB
ID:	322428  
Attached Files
Elite Membership required to download: cStepMA.cs
Reply With Quote
Thanked by:
  #9 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

@forrestang Thank you your work is much appreciated and you right I also noticed "It looks like it has had a lot of hands in there, and it seems there are things missing" but nonetheless its a nice indicator.

Started this thread Reply With Quote




Last Updated on February 26, 2022


© 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