NO LINKS OR MQL SOURCE CODE REQUESTS. Please follow the rules.

Re: MT4 Indicator requests and ideas

#16201
mrtools wrote:
Wed Aug 10, 2022 12:46 am
Far as I'm aware it's not possible in mt5.
It's a pity, that means MT5 is more useless than MT4. . :eh:
My Son, Conduct Your affairs with H u m i l i t y
and you will be L o v e d more than a giver of Gifts.
H u m b l e Yourself The More, The G r e a t e r You are,
and You will find M e r c y in The Sight of G o d
——Sirach Chapter 3(17-18)


Re: MT4 Indicator requests and ideas

#16202
honje19960321 wrote:
Sun Aug 07, 2022 2:12 am
Expect dear Mr Tool to add 41 averages to it.
Gratitude
Image
Hope dear Mr Tools sees it.
I go to sleep
Good Night.
Hope to upgrade it
Grateful
My Son, Conduct Your affairs with H u m i l i t y
and you will be L o v e d more than a giver of Gifts.
H u m b l e Yourself The More, The G r e a t e r You are,
and You will find M e r c y in The Sight of G o d
——Sirach Chapter 3(17-18)

Re: MT4 Indicator requests and ideas

#16204
could someone convert thus thinkorswims ift rsi? it looks really good

Part 1

Code: Select all

# RSI_IFT (smoothed Inverse Fisher Transform RSI)
# Change Log
#
# 2022.01.25    v1.1    @cos251    -    Added .01 multiplier per proper forumat; pointed out by @bigboss
#
# 2021.01.29    v1.0    @cos251    -    Intial Script; takes smoothed 5 period RSI and puts it #                                       through Inverse arctanh(x) forumla
#
#CREDITS
# - https://www.mesasoftware.com/papers/TheInverseFisherTransform.pdf
# - https://www.mql5.com/en/articles/303

declare lower;

#--- Inputs
input useMultiplier = no;
input length = 5;
def over_Bought = .5;
def over_Sold = -.5;
input paintbars = no;
input showVerticalLines = yes;
input audibleAlerts = yes;
#--- End Inputs


#--- RSI and Smoothed Inverse RSI Calculation
def R =if useMultiplier then (reference RSI(length, close) - 50) * .1 else (reference RSI(length, close) - 50);
def AvgRSI = MovingAverage(AverageType.Exponential,R,9);
def iRSI = (Power(Double.E, 2 * AvgRSI) - 1) / (Power(Double.E, 2 * AvgRSI) + 1);
plot Inverse_RSI = iRSI;
#AddLabel(yes,iRSI);
Inverse_RSI.SetDefaultColor(Color.DARK_GRAY);
Inverse_RSI.AssignValueColor(if Inverse_RSI > .5 then Color.GREEN else if Inverse_RSI < -.5 then Color.RED else Color.Current);
#--- End RSI and Smoothed Calculation


#--- OB/OS
plot ob = over_Bought;
plot os = over_Sold;
ob.SetDefaultColor(Color.DARK_GRAY);
os.SetDefaultColor(Color.DARK_GRAY);
#--- End OB/OS

#--- Add VerticalLine
def sqzAlert = reference TTM_Squeeze().SqueezeAlert; #Hint -Used for candle price color
AddVerticalLine(showVerticalLines and (iRSI > 0) and (iRSI[1] < 0), "Entry BUY", Color.GRAY);
AddVerticalLine(showVerticalLines and (iRSI[1] > 0) and (iRSI < 0), "Entry SELL", Color.YELLOW);
AssignPriceColor(if paintbars and iRSI > 0 and sqzAlert == 1 then Color.GREEN else if paintbars and iRSI < 0 and sqzAlert == 1 then Color.RED else if paintbars and sqzAlert == 0 then Color.GRAY else Color.Current);


Alert(audibleAlerts and (iRSI > 0) and (iRSI[1] < 0), "Buy", Alert.BAR, Sound.Chimes);
Alert(audibleAlerts and (iRSI[1] > 0) and (iRSI < 0), "Sell", Alert.BAR, Sound.Ding);
Part 2

Code: Select all

# RSI_IFT_Strat (smoothed Inverse Fisher Transform RSI)
# Change Log
# 2021.08.20    v1.0    @cos251    -    Intial Script; takes smoothed 5 period RSI and puts it #
#                                       through Inverse arctanh(x) forumla; converted to strategy for
#                                       back testing purposes
#
# Removing the header credits and description is not permitted, any modification needs to be shared.
#
#CREDITS
# - https://www.mesasoftware.com/papers/TheInverseFisherTransform.pdf
# - https://www.mql5.com/en/articles/303

declare upper;

#--- Inputs
input length = 5;
input tradetype = { default "long", "short", "both" };
input paintbars = yes;
input showVerticalLines = yes;
#--- End Inputs


#--- RSI and Smoothed Inverse RSI Calculation
def R = reference RSI(length, close) - 50;
def AvgRSI = MovingAverage(AverageType.Exponential,R,9);
def iRSI = (Power(Double.E, 2 * AvgRSI) - 1) / (Power(Double.E, 2 * AvgRSI) + 1);
def Inverse_RSI = iRSI;
#--- End RSI and Smoothed Calculation

#--- Add VerticalLine
def sqzAlert = reference TTM_Squeeze().SqueezeAlert; #Hint -Used for candle price color
# and sqzAlert == 1
AddVerticalLine(showVerticalLines and (tradetype == tradetype.long or tradetype == tradetype.both) and (iRSI > 0) and (iRSI[1] < 0), "Entry BUY", Color.GRAY);
AddVerticalLine(showVerticalLines and (tradetype == tradetype.short or tradetype == tradetype.both) and (iRSI[1] > 0) and (iRSI < 0), "Entry SELL", Color.YELLOW);
AssignPriceColor(if paintbars and (tradetype == tradetype.long or tradetype == tradetype.both) and iRSI > 0  then Color.GREEN else if paintbars and (tradetype == tradetype.short or tradetype == tradetype.both) and iRSI < 0 then Color.RED else if paintbars  then Color.GRAY else Color.Current);


AddOrder(OrderType.BUY_TO_OPEN, iRSI > 0 and iRSI[1] < 0 and (tradetype == tradetype.long or tradetype == tradetype.both), open, tickcolor = GetColor(9), arrowcolor = GetColor(9), name = "LONG");
AddOrder(OrderType.SELL_TO_CLOSE, iRSI < 0 and iRSI[1] > 0 and (tradetype == tradetype.long or tradetype == tradetype.both),open, tickcolor = GetColor(9), arrowcolor = GetColor(9), name = "LONG_EXIT");

AddOrder(OrderType.SELL_TO_OPEN,iRSI < 0 and iRSI[1] > 0 and (tradetype == tradetype.short or tradetype == tradetype.both),open, tickcolor = GetColor(8), arrowcolor = GetColor(8), name = "SHORT" );
AddOrder(OrderType.BUY_TO_CLOSE, iRSI > 0 and iRSI[1] < 0 and (tradetype == tradetype.short or tradetype == tradetype.both),open, tickcolor = GetColor(8), arrowcolor = GetColor(8), name = "SHORT_EXIT");
850F60DC-80AB-48C5-94C8-44F5F7FA4394.png
2B88838D-E2FB-403B-82A7-86F886D7E87A.png
no spam,, no hacking,, no bad language,, no source code
no bad request,, no fake email or location,, no no contribution
no unauthorized sells

0+0=0, infinity/infinity=1

The wages of sin is death and gift of God is eternal life through Jesus Christ
It’s self evident there is a creator and judgement.


Re: MT4 Indicator requests and ideas

#16208
Please help me to check the source code, dear Mr. Tool.s
MT4 freezes all the time.
Can you add lb to it if possible?

Grateful
Squeeze Channel Bars 2.mq4
(6.61 KiB) Downloaded 56 times
Squeeze Channel Bars.mq4
(6.34 KiB) Downloaded 50 times
My Son, Conduct Your affairs with H u m i l i t y
and you will be L o v e d more than a giver of Gifts.
H u m b l e Yourself The More, The G r e a t e r You are,
and You will find M e r c y in The Sight of G o d
——Sirach Chapter 3(17-18)

Re: MT4 Indicator requests and ideas

#16210
would someone please add push notifications so my phone can get an alert please , thank you
ema-cross-rsi-trend-spotter-arrows.mq4
(5.35 KiB) Downloaded 140 times
image_2022-08-11_180113154.png
no spam,, no hacking,, no bad language,, no source code
no bad request,, no fake email or location,, no no contribution
no unauthorized sells

0+0=0, infinity/infinity=1

The wages of sin is death and gift of God is eternal life through Jesus Christ
It’s self evident there is a creator and judgement.


  1. Similar Topics

    1. Any ideas which "Volume" this is?

      9 Replies 2587 Views

      by ionone, Mon Jan 17, 2022 1:09 am in MT4 Indicators

      9 Replies
      2587 Views
    2. MT4 question about EX4 and MQ4

      4 Replies 764 Views

      by Tradehunter, Sat Mar 19, 2022 7:16 am in Trader's Lounge

      4 Replies
      764 Views
    3. DATA MINING AND INDICATOR OPTIMIZATION

      0 Replies 554 Views

      by Manu9710, Mon Apr 11, 2022 10:28 pm in Coding Help

      0 Replies
      554 Views

Return to “MT4 Indicators”

Users viewing this forum: ayanboy, bongisgood, Bullish4x, ChuChu Rocket, CommonCrawl [Bot], Don, fibo7818, Google [Bot], Jimmy, kvak, luo83868008, moey_dw, morgangerry, nabuchodonozor, Ogee, PetalBot [Bot], rudiarius, Skyold, tradersanbrokers and 81 guests