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,534 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

  #11 (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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599


keepdchange View Post
I understand Mike. As always, appreciate your hard work.

Keep,

I just realized you are a VIP so will make these changes for you since they are small. Will be in touch.

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:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Increase in trading performance by 75%
The Elite Circle
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #12 (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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599

Hmm I recognize this code, lol, something I wrote for sharky a long time ago. But someone has made a lot of changes...

Here is the new ADXVMA version. It won't redraw if your Plot type is not a Line. I like dots personally.

It already had a Signal dataseries for strategies. 1 means rising, -1 means falling.

Here it is:


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:
  #13 (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


Thank you Mike..Just downloaded it. It works great. So in order to use it in the strategy, I have to adjust the parameters to dot instead of line for plotting. The SMI2 that I have been using was the one from the download section. Does that need to re-programmed or can I just use the same but change the lines to dots? Sorry if it sounds stupid!

Started this thread Reply With Quote
  #14 (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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599

Alright, and here is the new SMI2.

Same deal - if your plot is a line, it will connect. But if not a line (ie: dot) it will not redraw the prior bar.

I also made the smis DataSeries public, so you can now access .SMIs from a strategy for the value of the plot.

The code needs some cleaning up but I have no time so I left it. Was functional.

Download here:


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:
  #15 (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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599


keepdchange View Post
Thank you Mike..Just downloaded it. It works great. So in order to use it in the strategy, I have to adjust the parameters to dot instead of line for plotting. The SMI2 that I have been using was the one from the download section. Does that need to re-programmed or can I just use the same but change the lines to dots? Sorry if it sounds stupid!

No -- in a strategy, for ADXVMA, use the Signal dataseries. If signal=1 it's rising, if -1 it's falling. If you want some other info out of it it's not available in present code form.

Using dots (instead of lines) will prevent it from repainting 1 bar back in time. It doesn't effect the Signal dataseries.

For SMI2 -- it has to be re-coded. I just made the change for you (above post). Changing the plot style to dots will not work unless the code is specifically designed to work that way, and afaik, 99% of code out there isn't designed this way. I'm building it in to all my custom work going forward.

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:
  #16 (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


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

Mike

Not agree - they are !
SMI2 == StochMomIndex // SMI2 then was the evolution to the colored-version
ADXVMA-Alert == native good old simple ADXVMA // ADXVMA-alert then was the evolution to the diamond-alert-versions after the evolution to the multicoloredversion - lol

these colorful tweaked indies are so present+around here that most of the guys even dont know where they came from i think

max-td
Reply With Quote
  #17 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

In Ninjatrader 7, multi color plotting is accomplished by changing the color of one plot, rather than by switching between different plots and connecting them with line segments that repaint.

This is a big improvement over Ninjatrader 6.5!

In the Ninjatrader forums, the "MultiColor Plot Approach" thread deals with this subject. To find it, just do a keyword search for the quoted phrase, as I was unable to post the link.

Post #1 in that thread links to sample code showing how to use this new type of multi-color plotting.

Post #23 in that thread links to sample code showing how to create parameterized, user definable colors to use in multi color plots.

Follow me on Twitter Visit my NexusFi Trade Journal 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