NexusFi: Find Your Edge


Home Menu

 





access smi5 data


Discussion in NinjaTrader

Updated
    1. trending_up 786 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

access smi5 data

  #1 (permalink)
 foodchain 
san jose
 
Experience: Intermediate
Platform: ninjatrader, thinkorswim
Broker: IB
Trading: GC, CL, ES, ZF, ZN, DX, 6E
Posts: 22 since May 2010
Thanks Given: 12
Thanks Received: 1

I try to access smi5 data with
SMI5(true,0,17,1, "long.wav", false, "auto.wav",1,10,"short.wav",false,2,false).SMIEMA[0]
but it's not working. anyone can provide little hint on accessing the SMIEMA data? thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
 
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



foodchain View Post
I try to access smi5 data with
SMI5(true,0,17,1, "long.wav", false, "auto.wav",1,10,"short.wav",false,2,false).SMIEMA[0]
but it's not working. anyone can provide little hint on accessing the SMIEMA data? thanks

I don't have the indicator you are referencing to, but a trick to find how to address it, is to simply
use the strategy builder and make a very simple strategy that references that indicator, then
unlock the code and see how it looks like

From there you can start using it in your own code, hope this helps

here is an example of a similar indicator (just demo)
 
Code
protected override void OnBarUpdate()
        {
            // Condition set 1
            if (CrossAbove(SMI2wDiffHistogram(true, 10, 1, "long.wav", 1, 13, "short.wav", true, true, 3, true).SMI, SMI2wDiffHistogram(true, 10, 1, "long.wav", 1, 13, "short.wav", true, true, 3, true).SMI, 1))
            {
            }
        }

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 12, 2018


© 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