Moving Average

jones

Newbie
Mar 18, 2017
2
0
1
35
is there an indicator MT5 and MT4 which combines RSI and 2 MAs in the same indicator window. like RSI(4), MA(15) and MA(20)
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,306
1,530
144
Odesa
www.earnforex.com
How do you imagine combining MA's and RSI in the same window? MA's are price-pegged indicators and are normally displayed in the main chart window. RSI is a percentage momentum indicator - it changes from 0 to 100 - and is normally displayed in a separate chart window due to a different scale. Could you draw up an example of what you would like to see?
 

jones

Newbie
Mar 18, 2017
2
0
1
35
if you check MT5 on mobile you can include MA in the same window with RSI rather than in the main chart. so i want to do the same on the PC indicator window. i have released that RSI(4), MA(15), MA(20), If the RSI meets the MA(15) crossing to pass the 2 MA usually a long candle is formed in the direction of the RSI. so thats what i want to set on the PC terminal.
 

hayseed

Master Trader
Jul 27, 2010
1,176
279
149
usa
is there an indicator MT5 and MT4 which combines RSI and 2 MAs in the same indicator window. like RSI(4), MA(15) and MA(20)

hey jones..... you can add as many indicators to a single window as you want..... the indicators, such as ma's, that are written to be in the main chart window must be edited from property chart window to property separate window...... then it will plot in a separate window..... this allows you to drag and drop the rsi on the same window......

if you apply 2 indicators that use the 0 line, like awesome and macd, odds are they will not line up on the same 0..... in this case you must edit them some......

below is igors allaverages ma and alma ma edited as examples..... the alma will plot additional atr lines in the main chart.....h

//------
MQL4:
#property indicator_chart_window
 
//------change to separate
 
#property indicator_separate_window
//------

eurjpy-mn1-oanda-division1-igor.png
.h

//-------
 

Attachments

  • AllAverages_v3.1.mq4
    48.8 KB · Views: 21
  • alma seperate.mq4
    14.4 KB · Views: 21

Enivid

Administrator
Staff member
Nov 30, 2008
19,306
1,530
144
Odesa
www.earnforex.com
if you check MT5 on mobile you can include MA in the same window with RSI rather than in the main chart. so i want to do the same on the PC indicator window. i have released that RSI(4), MA(15), MA(20), If the RSI meets the MA(15) crossing to pass the 2 MA usually a long candle is formed in the direction of the RSI. so thats what i want to set on the PC terminal.
It is possible to code an RSI to plot on the main chart window, but it will have a scale of its own - its crosses with the MAs will be completely meaningless and would depend purely on choice of scale and a chance. Comparing RSI to an MA of a price is not even like comparing apples to oranges, it is like comparing apples to refrigerators.