Assistance Required code MACD RSI strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16978 quote
    Seanyboy
    Participant
    New

    Hello,

    I am fairly new to the ‘coding’ community and wonder if anyone would be kind enough to assist with coding the following strategy?
    timeframe: h5
    instrument: Ukx
    SUMMARY
    Buy 1 position if RSI[14] < 30 AND MACD (12,26,90) is trending upwards and exit if RSI[14] >= 60 OR MACD (12,26,90) is trending downwards.
    Sell 1 position if RSI[14] > RSI 70 AND MACD (12,26,90) is trending downwards and exit if RSI[14] <= 40 OR MACD (12,26,90) is trending upwards.
    It’s the MACD rule that I am struggling with as all I want from this is the MACD EMA to trend in the same direction as the buy/ sell, but haven’t a clue how to programme this!
    Thanks for any help you can offer.

    Sean

    #17703 quote
    Nicolas
    Keymaster
    Master

    Hello, still in need of assistance to code this trading strategy?

    #17705 quote
    Big Hug
    Participant
    Average

    Hi Seanyboy

    My thoughts

    -How many periods define the MACD EMA Trend ?

    -What time frame ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Assistance Required code MACD RSI strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Seanyboy @seanyboy Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Big Hug
9 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/22/2016
Status: Active
Attachments: No files
Logo Logo
Loading...