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 fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,404 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        95 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        8 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        159 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X