RSI EA code problem
Results 1 to 2 of 2

Thread: RSI EA code problem

  1. #1
    I wrote and published this EA but I received an parameter error when compiling. Could somebody figure this out for me please?

    thx...
    https://www.nigeriaforextrading.com/...9583598017.mq4

  2. #2
    Due to parameters were given, your errror is.

    The line which has

    dual _rsi = iRSI(emblem, period, rsiperiod, 0);

    needs one last parameter, namely the shift value.

    I assume this to be 0, thus the line must read:

    dual _rsi = iRSI(emblem, period, rsiperiod, 0,0);

    Here is the correct syntax:

    double iRSI( string symbol, int timeframe, int period, int applied_price, int shift).

    Applied price with zero value, means usage final price.

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.