Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACD indicator and Autotrade

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

    MACD indicator and Autotrade

    Dear All,

    can any one help in providing me with auto trade strategy that i can use based on the MACD DEMA smothed.

    I want to be able to program an action when the 2 lines intersect. i want also to get the values of the 2 lines every 5 minute and divide them and get the value if it is positive i need to do buy if it is negative i need to sell.

    thanks,

    #2
    miskawi, welcome to our forums here - for getting started in strategy programming the 'point and click' interface wizard would be very helpful for you :



    If you'd like to get this script needed coded professionally for you, a certified NinjaScript consultant could assist as well -

    Comment


      #3
      thanks for your reply. I am looking for some step by step help on how to create the strategy at the moment i got familira with it. the only thing that i am unable to do it is to stop the autotrading when there is no margin in the market or if it is in the side ways with less margin.

      Comment


        #4
        miskawi, we are not able to provide step by step instructions on how to create a strategy. As for disabling the strategy, you can use the Disable() method when needed. You can also check your account balances and such with GetAccountValue().


        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        102 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 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