NexusFi: Find Your Edge


Home Menu

 





VisualSMA HELP..... FatTails ?


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 Randwulf 
Colorado Springs, CO
 
Experience: Beginner
Platform: NinjaTrader
Posts: 22 since Oct 2009
Thanks Given: 16
Thanks Received: 0

I'm using VisualSMA successfully, representing an 8 range SMA on a 6 range chart...
However, I want to use the same settings in a strategy to tell me if price is close to the SMA.
I'm using the following code:

VisualSMA(50, false, true, VisualSMACalcMode.Strategy, VisualSMAPeriodType.Range, 8, VisualSMAPriceType.Close).MTF_SMA[0]

To test the code, I used it in a strategy to draw dots.
It works for all available bar types EXCEPT Range..

Any ideas would be greatly appreciated.
Thank you all in advance..


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NYSE Owner ICE Invests in Crypto Exchange OKX at $25 Bil …
Cryptocurrency
Orban at 29pct as Hungary Votes Tomorrow -- McIlroy Surg …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114

To comment on your findings, I would need to test the strategy.

There are limitations that apply to range bars, because a range bar is only closed after the first tick of the next bar has been detected. We have discussed the issue here:



Please download the access indicator and check whether it behaves in a similar way as your strategy.


Reply With Quote




Last Updated on December 28, 2014


© 2026 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 - Downloads - Top
no new posts