Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Manual to Automated 60min Price Bar/SMA strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Manual to Automated 60min Price Bar/SMA strategy

    Hello Everyone,

    Just downloaded Ninja on my computer and trying to convert my simple manual (Ameritrade) strategy from Ameritrade Strategy deck to automated Ninja.
    It may sound too simple, but I want to build just 2 indicators:
    - Bar[Close,60min]
    - Simple MA[lenght=5,time=60min, offset=0]

    Price close is checked every 60 minutes, starting from the 1st minute (Interval on Ameritrade Strategy desk is set for 1 minute)

    The SMA part is ok, but can't figure our the Price Bar piece...
    Could anybody help me with that, simple for pros, question??

    Thanks a lot!
    TL

    #2
    telecompilot, welcome to our forums! I'm not sure I follow exactly on your strategy setup, but the you can access the close price with Close[0] for example, the brackets denote the bars back you need. If you look to combine the 1 minute and 60 min timeframe in our strategy, you would need to code a MultiTimeFrame strategy, then this help guide guide section will help to familiarize yourself with the basics - http://www.ninjatrader-support.com/H...struments.html

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    176 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    93 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    130 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    210 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    186 views
    0 likes
    Last Post CarlTrading  
    Working...
    X