Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using ma to aid asset allocation

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

    Using ma to aid asset allocation

    Evening all,

    Relatively new so appreciate all the help I can get.

    I'm looking to put use MA to aid asset allocation. I want to use analyser to do this. However unsure.

    The conditions would be something like the below. Is it possible to put the wording in as well? Is it possible to do as one indicator or would multiple in indicators work better?

    P<MA20 and p>MA200 Reduce
    ma20<ma50 and p>200. Sell
    Ma20<ma50 and p<ma200. Short
    P>ma20 and p<ma200. Reduce short
    Ma20>ma50 and p<ma200. Add
    Ma20>ma50 and p>ma200 buy

    Is this possible?

    Thanks

    Ben

    #2
    BenG

    The Market Analyzer can only compare to a numeric value. As such, you could create an indicator that sets its plot to be 1, 2, 3, 4, 5, 6, etc. for each set of conditions you are testing for. One indicator would work here.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    146 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X