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

GreenDayTrades Strategy

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

    GreenDayTrades Strategy

    Hi folks,
    I have been trying to backtest two year's worth of trades for an idea I have and it's taking forever. I thought it would be easier to put it in a script and run it and optimize. Is there anyone willing to donate some time for this? I am not a coder or even savvy with strategy builders so I need a lot of help. It uses opening range, MACD, and GRaB MA(34EMA high/low). I wrote conditions if it helps.

    Sell Conditions: (if)
    Opening Range- 120 ticks or less (9:30-9:45 am EST)
    VIX S&P 500- equal to or greater than 18 (CBOE data not sure how to input in code.)
    Candle closes below 15min range low on the 10-minute timeframe
    Price- is below the 34EMA (low)
    MACD Trend Region-Histogram is below 0 (48,36,104)
    It is not 12 noon (trades must be initiated before 12 noon EST) or no trade.
    Then:
    Place sell stop 1 tick below the close candle
    Stoploss
    will be at the opposite side of the range
    Exit
    Profit target-1.5x of the opening range is reached
    Close all positions at 3:55 pm
    If the candle closes above 34 EMA (high)

    Opposite for long Trades

    Thanks for everyone's help in advance.
    Attached Files

    #2
    Hello wealthcig,

    Thank you for the post.

    While our support could not assist in creating a strategy for you we can try to answer any questions that you may have surrounding the code you are working with. If this is something you wanted to learn and explore/develop we can likely provide guidance. If you have any specific questions on the files attached I would suggest to post a follow up with those details. That would also help any users who may be able to contribute their time toward your project. If you wanted this to be developed for you then you can also seek third party developers, if that is a topic you wanted more information about please let me know and I will have another member of our team follow up.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Stanfillirenfro, Today, 07:23 AM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    2 responses
    20 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by olisav57, Yesterday, 07:39 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by cocoescala, 10-12-2018, 11:02 PM
    7 responses
    943 views
    0 likes
    Last Post Jquiroz1975  
    Started by oviejo, Today, 12:28 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X