Page 1315 of 2170

Re: MT4 Indicator requests and ideas

Posted: Sun Jun 27, 2021 12:29 am
by crazy forex
Hello dear friends and traders, I am looking for an index for the designer on the chart and marking the pipes. Does anyone know what the name of this index is and do you have this index to share?
thank you

Re: MT4 Indicator requests and ideas

Posted: Sun Jun 27, 2021 8:32 am
by qasd
Dear Mr Tools and Mladen, pl help for vwap. I have been searching for past few days for a vwap which is exactly in the tradingview. I have noticed that in tradingview and in MT4 the weave app form are different.
when i open the nifty future chart in mt4 the vwap is different as compared to the one in trading view and broker zerodha. i miss all important entries beacause of that. i have tried using all formulas Nothing is working :( Please help make one for MT4 which is exactly same as tradingview. I have found the the code for tradingview in this site. Great thanks and Regards

The code in trading view is as somone else was facing the same Issue
https://www.mql5.com/en/forum/357780

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

// © MichelT



//@version=4

study(title="Anchored VWAP", shorttitle="VWAP", overlay=true)



anchor = input(defval = "Session", title="Anchor Period", type=input.string, options=["Session", "Week", "Month", "Year"])



MILLIS_IN_DAY = 86400000



dwmBarTime = timeframe.isdwm ? time : time("D")

// If it's a short day, then there could be no daily bar. Take a previous one.

if na(dwmBarTime)

dwmBarTime := nz(dwmBarTime[1])

var periodStart = time - time // zero



// in pine week starts on Sunday and it's value 1. Value of Monday is 2

// we need a week to start on Monday and its value should be 0

makeMondayZero(dayOfWeek) => (dayOfWeek + 5) % 7



isMidnight(t) =>

hour(t) == 0 and minute(t) == 0



isSameDay(t1, t2) =>

dayofmonth(t1) == dayofmonth(t2) and

month(t1) == month(t2) and

year(t1) == year(t2)



isOvernight() =>

not (isMidnight(dwmBarTime) or security(syminfo.tickerid, "D", isSameDay(time, time_close), lookahead=true))



tradingDayStart(t) =>

y = year(t)

m = month(t)

d = dayofmonth(t)

timestamp(y, m, d, 0, 0)



numDaysBetween(time1, time2) =>

y1 = year(time1)

m1 = month(time1)

d1 = dayofmonth(time1)



y2 = year(time2)

m2 = month(time2)

d2 = dayofmonth(time2)



diff = abs(timestamp("GMT", y1, m1, d1, 0, 0) - timestamp("GMT", y2, m2, d2, 0, 0))

diff / MILLIS_IN_DAY



// a symbol with overnight session starts at previos day

// to get the trading day we should get the next day after the session's start

tradingDay = isOvernight() ? tradingDayStart(dwmBarTime + MILLIS_IN_DAY) : tradingDayStart(dwmBarTime)



isNewPeriod() =>

isNew = false

if tradingDay != nz(tradingDay[1])

if anchor == "Session"

isNew := na(tradingDay[1]) or tradingDay > tradingDay[1]



if anchor == "Week"

DAYS_IN_WEEK = 7

isNew := makeMondayZero(dayofweek(periodStart)) + numDaysBetween(periodStart, tradingDay) >= DAYS_IN_WEEK



if anchor == "Month"

isNew := month(periodStart) != month(tradingDay) or year(periodStart) != year(tradingDay)



if anchor == "Year"

isNew := year(periodStart) != year(tradingDay)

isNew



src = hlc3

sumSrc = float(na)

sumVol = float(na)



sumSrc := nz(sumSrc[1], 0)

sumVol := nz(sumVol[1], 0)



if isNewPeriod()

periodStart := tradingDay

sumSrc := 0.0

sumVol := 0.0





if not na(src) and not na(volume)

sumSrc := sumSrc + src * volume

sumVol := sumVol + volume



vwapValue = sumSrc / sumVol

plot(vwapValue, title="VWAP", color=#3A6CA8)

Re: MT4 Indicator requests and ideas

Posted: Sun Jun 27, 2021 12:56 pm
by mrtools
RplusT wrote: Fri Jun 25, 2021 10:19 pm mrtools, would it be possible to add deviation to the filled Vidya you made. It could then be used as a channel.



Vidya zone filled.ex4
Posted a version here Vidya zones

Re: MT4 Indicator requests and ideas

Posted: Sun Jun 27, 2021 5:37 pm
by thomdel
@mrtools


Respected Sir,

If you find useful then Please Provide Options :
1) Option to Turn off ( or change colour to None ) for Floating Levels. * -- Right now unable to turn off Floating Level Lines
2) Option to Change Width of Shadow Line. *
3) Option for Chart Background Zones ( Chart Bdg Zones ) -- According to Up, Down & Neutral



Thanks for Kindness, Generosity, Support & Shares.
Thanks.

Re: MT4 Indicator requests and ideas

Posted: Sun Jun 27, 2021 6:05 pm
by tkhanfx
Good day Mr. Tools

Could you kindly help to identify the attached indicator and help me find mql4 file of original? Am sure it is a renamed indicator from this forum

Thank you as always for your untiring effort

Re: MT4 Indicator requests and ideas

Posted: Sun Jun 27, 2021 8:48 pm
by ionone
tkhanfx wrote: Sun Jun 27, 2021 6:05 pm Good day Mr. Tools

Could you kindly help to identify the attached indicator and help me find mql4 file of original? Am sure it is a renamed indicator from this forum

Thank you as always for your untiring effort
this is a simple Hull MA with arrows

Re: MT4 Indicator requests and ideas

Posted: Mon Jun 28, 2021 1:48 am
by tkhanfx
ionone wrote: Sun Jun 27, 2021 8:48 pm this is a simple Hull MA with arrows
Thank you for the reply, but it's not quite what am looking for. am looking for one with arrows as well

Re: MT4 Indicator requests and ideas

Posted: Mon Jun 28, 2021 2:24 am
by Cladi39
tkhanfx wrote: Sun Jun 27, 2021 6:05 pm Good day Mr. Tools

Could you kindly help to identify the attached indicator and help me find mql4 file of original? Am sure it is a renamed indicator from this forum

Thank you as always for your untiring effort
This one can work

Re: MT4 Indicator requests and ideas

Posted: Mon Jun 28, 2021 2:49 pm
by tkhanfx
Cladi39 wrote: Mon Jun 28, 2021 2:24 am This one can work
It has worked beautifully, appreciate the help. Thank you for sharing

Re: MT4 Indicator requests and ideas

Posted: Mon Jun 28, 2021 4:42 pm
by 太虚一毫
mrtools wrote: Sun Mar 26, 2017 10:08 am AlexLoco, have these 2, which I added mtf.

WPRfast mtf、WPRslow mtf
viewtopic.php?f=579496&p=1295208064#p1295208064

The accuracy is very good! Why does no one like it? :thumbup: