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 Shansen, 08-30-2019, 10:18 PM
    24 responses
    938 views
    0 likes
    Last Post spwizard  
    Started by Max238, Today, 01:28 AM
    0 responses
    3 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by rocketman7, Today, 01:00 AM
    0 responses
    2 views
    0 likes
    Last Post rocketman7  
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Working...
    X