Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

EMA Entries and Exits

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

    EMA Entries and Exits

    I am not a programer and consequently have to rely on the GUI approach to creating strategies. I created a 5, 13 EMA crossover as per the video. Basically I have the fast 5 crossing above the slow 13 looking one bar back. The command is to enter LONG. I created a SHORT crossover ema using the step2 on the first strategy (as per the video). However, neither would work when backtested. Removing the step 2 allowed the Long EMA crossover to work for backtesting.

    I created a separate short " 5 cross below13" strategy as well.

    The strategy backtested the 12/10/07 thru 1/20/08, 15 minute interval.

    My problem is the entries appear to pick the Cross above (5 over 13) entries irratically. The closings have the same irregularities. I had 8, possibly 9 entries that should have occurred and the program did only three and those wrong. I tried to send a picture of the chart but was denied on bytes. Thanks

    #2
    Unfortunately the only thing I can comment is that you would have to provide very specific information to us in order for us to try and help. 99% of the time, unexpected results are actually the expected results based on the traders logic.

    What you have described is a basic MA cross over strategy. I suggest backtesting the SampleMA strategy that installs with NT. If you feel that this does not produce entries when you would expect, please let us know.
    RayNinjaTrader Customer Service

    Comment


      #3
      Got it fixed

      I worked through the problems and the strategy opened short in the EURJPY and EURUSD and as of now up 187 pips. Thanks for the help.

      Comment


        #4
        Wow, nice trade!
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Klaus Hengher, Yesterday, 03:13 AM
        2 responses
        15 views
        0 likes
        Last Post Klaus Hengher  
        Started by Sebastian - TwinPeaks, Yesterday, 01:31 PM
        2 responses
        12 views
        0 likes
        Last Post Sebastian - TwinPeaks  
        Started by wbennettjr, 07-15-2017, 05:07 PM
        16 responses
        2,527 views
        1 like
        Last Post eladlevi  
        Started by Human#102, Yesterday, 09:54 AM
        2 responses
        7 views
        0 likes
        Last Post Human#102  
        Started by Patlpp, 08-16-2021, 03:10 PM
        10 responses
        498 views
        0 likes
        Last Post Joerg
        by Joerg
         
        Working...
        X