Building RSI + MA indicator in EA Builder - How to show the RSI "levels" (i.e. 20 and 80) on the chart

 

Hi All. I prepared a RSI and MA custom indicator on EA Builder, but it does not show the 20 and 80 RSI levels in the indicator window - it only shows the MA line. How can I get it to show the levels? Thank in advance

 
Bonjour
essaye de rajouter

#property indicator_level2       70          // Hard-coded value
#property indicator_level3       30   
 
  1. Lerumo Matlala: I prepared a RSI and MA custom indicator on EA Builder, but it does not show the 20 and 80 RSI levels in the indicator window - it only shows the MA line. How can I get it to show the levels?

    ChatGPT (the worst), “Bots Builder”, “EA builder”, “EA Builder Pro”, EATree, “Etasoft forex generator”, “Forex Strategy Builder”, ForexEAdvisor (aka. ForexEAdvisor STRATEGY BUILDER, and Online Forex Expert Advisor Generator), ForexRobotAcademy.com, forexsb, “FX EA Builder”, fxDreema, Forex Generator, FxPro, “LP-MOBI”, Molanis, “Octa-FX Meta Editor”, Strategy Builder FX, “Strategy Quant”, “Visual Trader Studio”, “MQL5 Wizard”, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.

    Since you haven't learned MQL4/5, therefor there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.

    We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own.

    ChatGPT
    1. Even it says do not use it for coding. * 
    2. Mixing MT4 and MT5 code together.
    3. Creating multiple OnCalculate/OnTick functions.
    4. OnCalculate returning a double.
    5. Filling buffers with zero in OnInit (they have no size yet). Setting buffer elements to zero but not setting Empty Value to correspond.
    6. Calling undefined functions.
    7. Calling MT4 functions in MT5 code.
    8. Sometimes, not using strict (MT4 code).
    9. Code that will not compile.
    10. Creating code outside of functions. * 
    11. Creating incomplete code. * 
    12. Initialization of Global variables with non-constants. * 
    13. Assigning a MT5 handle to a double or missing the buffer and bar indexes in a MT4 call. * 
    14. Useing MT4 Trade Functions without first selecting an order. * 
    15. Uses NULL in OrderSend. * 
    bot builder Creating two OnInit() functions. * 
    EA builder
    1. Counting up while closing multiple orders.
    2. Not useing time in new bar detection.
    3. Not adjusting for 4/5 digit brokers, TP/SL and slippage. * 
    4. Not checking return codes.
    EATree Uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)
    ForexEAdvisor
    1. Non-updateing global variables.
    2. Compilation errors.
    3. Not checking return codes.
    4. Not reporting errors.
    FX EA Builder
    1. Not checking return codes.
    2. Loosing open tickets on terminal restart. No recovery (crash/power failure.)
    3. Not adjusting stops for the spread. * 
    4. Using OrdersTotal directly.
    5. Using the old event handlers.

  2. How to predict RSI Level??? - MQL4 programming forum - Page 2 #11 #12 (2020)

    Anyway to calculate indicator reversely to the price? - MQL5 programming forum #1 (2019)

 
Gerard Willia G J B M Dinh Sy #: essaye de rajouter
  1. Please post only in English on this part of the forums.
              Use the automatic translation tool if needed. (2013)
              Use simple language structure when using mechanical translation.
              Forum rules and recommendations - General - MQL5 programming forum (2023)

  2. Op is asking about a chart indicator not a separated indicator.
 
William Roeder # :
  1. Please post only in English on this part of the forums.
              Use the automatic translation tool if needed. (20 13 )
              Use simple language structure when using mechanical translation .
               Forum rules and recommendations - General - MQL5 programming forum (20 23 )

  2. Op is asking about a chart indicator not a separated indicator.

Good evening
Oops, I knew that but I forgot, my apologies

-----------

Good morning
try to add

 #property indicator_level2        70            // Hard-coded value
#property indicator_level3        30