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 cmoran13, 04-16-2026, 01:02 PM
    0 responses
    42 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    25 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    162 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    157 views
    2 likes
    Last Post CaptainJack  
    Working...
    X