NexusFi: Find Your Edge


Home Menu

 





ADXVMA & SMI2 Indicators + repaint Q


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 7 posts (6 thanks)
    2. looks_two keepdchange with 6 posts (0 thanks)
    3. looks_3 max-td with 3 posts (0 thanks)
    4. looks_4 Zondor with 1 posts (0 thanks)
    1. trending_up 8,542 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 16 posts
    2. attach_file 2 attachments




 
Search this Thread

ADXVMA & SMI2 Indicators + repaint Q

  #1 (permalink)
 keepdchange 
California
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Zen Fire
Trading: ES, Currency Futures (6E)
Posts: 157 since Sep 2009
Thanks Given: 78
Thanks Received: 10

I was trying to use the ADXVMA & SMI2 indicators (attached below). However, seems like they repaint. I would really appreciate if anyone could fix this problem so that they don't repaint.

Thanks
-Keep

Attached Files
Elite Membership required to download: ADXVMA_Alerts_v01_4.zip
Elite Membership required to download: SMI2.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
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
  #2 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

hi Keep - as always --- send us pictures of what you mean !

BTW - the repainting sometimes is in the nature of some Ninjaindicators -
in example if ADXVMA is rising the color is black
if its flat - the color is yello.
but to realize that it is flat you must wait for the next bar to close -
and if this next Bar has the same value then the last one - the color of the last one gets a changed to yello because now its a flat on compared to the current one.
thats the method you have to understand.
that behavior you find in many multicolor-indis in Ninja
i know this shure for ADXVMA
i know this also shure for many double-moving-AVs ( DMAs)
i dont know if SMI2 is a multicolor-indi.
if yes - the repainting is "normnal" and can not be fixed.

max-td
Reply With Quote
  #3 (permalink)
 keepdchange 
California
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Zen Fire
Trading: ES, Currency Futures (6E)
Posts: 157 since Sep 2009
Thanks Given: 78
Thanks Received: 10


Hi Max....So another words, we have to wait for 2 consecutive bars to close before confirmation...I got you. Thanks for the info.

Started this thread Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

It actually can be corrected but requires the code be written to allow for a 'fix' to be possible. And by fix I really mean work-around. There is no actual fix. NT limitation.

On all new code I am writing these days, I detect if the Plot is a line. If it's a line, then it has to repaint in order to connect the two lines. NT limitation. But if the plot is not a line, then I purposely do not connect the two plots.

Personally on indicators that have multi-colored plots, I try to avoid using Line plots for this very reason. But even if you use a Dot plot, the code must be smart enough to detect that and not repaint. Simply using a dot plot on 99% of the code out there today will still result in repainting of the last dot back.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 keepdchange 
California
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Zen Fire
Trading: ES, Currency Futures (6E)
Posts: 157 since Sep 2009
Thanks Given: 78
Thanks Received: 10

Appreciate your response Mike. So it is not a quick fix I assume. I wanted to use it as a strategy but I believe if it is going to reprint, then it probably can not be used...Am I assuming correctly?

Started this thread Reply With Quote
  #6 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

well - for strategys , you have to use versions of the indicators without multicolor-function ! They have only 1 plot and thats easy + clear to handle.
that works perfect then.
they are also available.

max-td
Reply With Quote
  #7 (permalink)
 keepdchange 
California
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Zen Fire
Trading: ES, Currency Futures (6E)
Posts: 157 since Sep 2009
Thanks Given: 78
Thanks Received: 10

Would you please direct me to where I could find them...The ADXVMA & the SMI2. Also how would the non multicolor version work if there are no colors to change? How would one know when line changes from red to yellow or blue, if there is no color. Sorry for the question but when it comes to strategies and programming I have NO clue.

Started this thread Reply With Quote
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


keepdchange View Post
Appreciate your response Mike. So it is not a quick fix I assume. I wanted to use it as a strategy but I believe if it is going to reprint, then it probably can not be used...Am I assuming correctly?

For strategies, I usually build in something on my indicators specifically for strategy use. I usually use the Signal dataseries, but depends for each strat.

Most multi-color plot indicators are not strategy friendly. But you can make them strategy friendly.

The work is not hard (both making it strategy friendly and making it not redraw). However, I can't do it right now sorry, I have a lot of (paid) work that I have to finish first.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


keepdchange View Post
Would you please direct me to where I could find them...The ADXVMA & the SMI2. Also how would the non multicolor version work if there are no colors to change? How would one know when line changes from red to yellow or blue, if there is no color. Sorry for the question but when it comes to strategies and programming I have NO clue.

There aren't any non-multi-colored versions AFAIK. Would need to make the edits.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #10 (permalink)
 keepdchange 
California
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Zen Fire
Trading: ES, Currency Futures (6E)
Posts: 157 since Sep 2009
Thanks Given: 78
Thanks Received: 10


I understand Mike. As always, appreciate your hard work.

Started this thread Reply With Quote




Last Updated on December 29, 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