Assistance Required code MACD RSI strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16978 quote
    SeanyboySeanyboy
    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
    NicolasNicolas
    Keymaster
    Legend

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

    #17705 quote
    Big HugBig 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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 HugBig Hug
9 years, 10 months ago.

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