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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    58 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    39 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    19 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    21 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X