NexusFi: Find Your Edge


Home Menu

 





Strategy Analyzer with SMI5


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one nmk85roll with 3 posts (0 thanks)
    2. looks_two Trader.Jon with 1 posts (0 thanks)
    3. looks_3 sam028 with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 3,822 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

Strategy Analyzer with SMI5

  #1 (permalink)
 nmk85roll 
chicago, il
 
Experience: Beginner
Platform: ninja Trader
Posts: 28 since Mar 2010
Thanks Given: 3
Thanks Received: 8

Hey everyone,

I'm having a few issues getting the SMI5 to work in the Strategy Analyzer. I read the Holy Grall II thread where someone suggested using SMI2 instead. It seemed like an old post so I was hoping any issues with SMI5 were fixed. Can anyone confirm?

Basically, part of the strategy is to go Long when the SMI Up dot crosses over the SMIEMA. Any ideas on what could be wrong with the line of code? Thanks!

if (SMI5(true, 0, 34, 1, "long.wav", false, "AutoTrail.wav", 1, 8, "short.wav", false, 15, false).SMIup[0] > SMI5(true, 0, 34, 1, "long.wav", false, "AutoTrail.wav", 1, 8, "short.wav", false, 15, false).SMIEMA[0])
{
EnterLong(
1, "");
DrawArrowUp(
"My up arrow" + CurrentBar, false, 0, 0, Color.Lime);
}

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
17 thanks
GFIs1 1 DAX trade per day journal
13 thanks
EG Indicators
11 thanks
  #3 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


I dont use that indicator ... are you getting what kind of error or problem when running it? MORE DETAILS are helpful <hint> lol

Writing to you from the wonderful province of Ontario, Canada. Home to the world's biggest natural negative ion generator, the Niagara Falls, and to those that dare to know how to go over it in a barrel. SALUTE!
Reply With Quote
  #4 (permalink)
 nmk85roll 
chicago, il
 
Experience: Beginner
Platform: ninja Trader
Posts: 28 since Mar 2010
Thanks Given: 3
Thanks Received: 8

Nothing happens, that's the problem It's not triggering any trades, even if I pull out all the other conditions and leave just the SMI5 condition. I've gotten my strategy to work with all the other custom indicators I'm using, this one just seems to be giving me a hard time.

Basically, the indicator will plot in the Strategy Analyzer Chart, but no trades are executed because the SMI5 conditions are never met. This clearly isn't the case when you look at the chart and SMI5 indicator.

Started this thread Reply With Quote
  #5 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629

Try to print the tested values:
SMI5(true, 0, 34, 1, "long.wav", false, "AutoTrail.wav", 1, 8, "short.wav", false, 15, false).SMIup[0]
and
SMI5(true, 0, 34, 1, "long.wav", false, "AutoTrail.wav", 1, 8, "short.wav", false, 15, false).SMIEMA[0]

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #6 (permalink)
 nmk85roll 
chicago, il
 
Experience: Beginner
Platform: ninja Trader
Posts: 28 since Mar 2010
Thanks Given: 3
Thanks Received: 8


sam028 View Post
Try to print the tested values:
SMI5(true, 0, 34, 1, "long.wav", false, "AutoTrail.wav", 1, 8, "short.wav", false, 15, false).SMIup[0]
and
SMI5(true, 0, 34, 1, "long.wav", false, "AutoTrail.wav", 1, 8, "short.wav", false, 15, false).SMIEMA[0]

This doesn't seem to work either, nothing prints.

I tried using the SMI2 instead and that "somewhat" works. It looks like there is some repainting going on.

Started this thread Reply With Quote
  #7 (permalink)
 romus 
Melbourne, VIC, Australia
Legendary Wicked Trader
 
Experience: Intermediate
Platform: NinjaTrader
Trading: SPI
Frequency: Every few days
Duration: Days
Posts: 798 since Dec 2010
Thanks Given: 2,050
Thanks Received: 3,193

I have read few treads, some time has gone by and still could not find solution to be able to use this indicator in the strategy.
Has anyone succeeded?

Reply With Quote




Last Updated on August 21, 2013


© 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