Re: MT4 Indicator requests and ideas

19113
A_5 wrote: Sun Jul 30, 2023 4:36 am Please can you make this custom time display, eg 4:30, 13:30 etc rather than the fixed time zone which is automatically only hours
I will be very grateful
Open Price Line.mq4
Thank you all
Thanks for your help again
Please I have a few requests
1. Can you please add the "DrawEndTime" in the above open price line indicator to the below open price horizontal line v1.2
2. Can you please add unique ID number to itthe indicator below so that I can have multiple instances of the indicator below on the same chart.
3. If it won't be too much lastly add on/off button
Thanks Thanks thanks again


Re: MT4 Indicator requests and ideas

19116
mr.tools
i believe you created price cross on MA line indicator with arrow..
may i request to have arrows when PRICE HIGH/LOW lines crosses !!!

arrow rules below


if the bullish current bar close price > high price line & current bar low price < ma low price line - UP arrow
if the bearish bar close price < low price line & current high price >ma hgh price line - DN arrow
see snap
Attachments
"There is NO GOD higher than TRUTH" - Mahatma Gandhi

Re: MT4 Indicator requests and ideas

19117
sal wrote: Sun Aug 06, 2023 1:01 am i attached both line and histo, few places signal is red and still line signal are in green ! not sure which setting is correct.
I was trying your setup and download one cci from Mrtools and it is look same.
Maybe, if you try share full picture, not only puzzle, I would read what cci you use and I could compare it....
Attachments

Re: MT4 Indicator requests and ideas

19118
kvak wrote: Sun Aug 06, 2023 1:33 am I was trying your setup and download one cci from Mrtools and it is look same.
Maybe, if you try share full picture, not only puzzle, I would read what cci you use and I could compare it....
Image
here cci indicator which i used.. i dont have source file.. its forex station indicator..

LWMA 20and WMA 20 i used in this indicator
"There is NO GOD higher than TRUTH" - Mahatma Gandhi

Re: MT4 Indicator requests and ideas

19119
sal wrote: Sun Aug 06, 2023 1:42 am here cci indicator which i used.. i dont have source file.. its forex station indicator..

LWMA 20and WMA 20 i used in this indicator
I'm a bit confused about two things, in this indicator have not zero cross, also you wrote that you use WMA, but there is not WMA???
I think this indicator is in source code in first page in cci thread. I added zero cross menu and look same for me like indicator what I made...
You also use ZERO cross logic and for this it is not important what period and type of average use for signal line....Only important is period of CCI and in my indicator is extra menu smoothing, use 1 and standart EMA.

Re: MT4 Indicator requests and ideas

19120

Code: Select all

//@Bjorgum on stocktwits 



//This script uses a triple EMA strategy to establish trend direction and reversal points
//Inputs are smoothed with Heiken Ashi values to reduce whipsaws, while providing timely execution
//Buy and sell indications are dictated by bar color
//Bar color is dictated by the candle close value in relation to the EMAs, specifically the faster of the 3
//Best results are obtained when coupled with Bjorgum TSI and Bjorgum RSI for confirmation 


// It is recommended to disable candle borders in your chart settings


//@version=4
study(title="Bjorgum Triple EMA Strategy", shorttitle="BJ HEMA ", overlay=true)

//Heiken Ashi Input

haClose = (open + high + low + close) / 4
haOpen  = float(na)
haOpen := na(haOpen[1]) ? (open + close) / 2 : (nz(haOpen[1]) + nz(haClose[1])) / 2
haHigh  = max(high, max(haOpen, haClose))
haLow   = min(low,  min(haOpen, haClose))
hahl2 = avg(haHigh, haLow)

// 5 ema

emaslow = input(5,title='EMA-Fast')

bjemaslow = ema(haOpen, emaslow)
up = bjemaslow > bjemaslow [1]
down =bjemaslow < bjemaslow[1]
mycolor = up ? #64b5f6 : down ? #d32f2f : na
bjemafast = ema(hl2, 1)

emaslowplot = plot(bjemaslow, color=mycolor, transp=55, title='EMA-5')
emafastplot = plot(bjemafast, color=#000000, transp=100, title='EMA fast')

// 9 ema

emaslow2 = input(9,title='EMA-Medium')

bjemaslow2 = ema(haOpen, emaslow2)
up2 = bjemaslow2 > bjemaslow2 [1]
down2 =bjemaslow2 < bjemaslow2[1]
mycolor2 = up2 ? #64b5f6 : down2 ? #d32f2f : na

emaslowplot2 = plot(bjemaslow2, color=mycolor2, transp=45, title='EMA-9')

//21 ema

emaslow3 = input(21,title='EMA-Slow')

bjemaslow3 = ema(haOpen, emaslow3)
up3 = bjemaslow3 > bjemaslow3 [1]
down3 =bjemaslow3 < bjemaslow3[1]
mycolor3 = up3 ? #64b5f6 : down3 ? #d32f2f : na

emaslowplot3 = plot(bjemaslow3, color=mycolor3, transp=35, title='EMA-21')

///area plot fill 

fillData = bjemaslow > bjemafast
fillData2 = bjemaslow < bjemafast

fillDtat = bjemaslow2 > bjemaslow
fillDtat2 = bjemaslow2 < bjemaslow

fillDat = bjemaslow3 > bjemaslow2
fillDat2 = bjemaslow3 < bjemaslow2


fillCol1 = fillData ? #ef5350 : fillData2 ? #64b5f6 : na
fillCol2 = fillDtat ? #ef5350 : fillDtat2 ? #64b5f6 : na
fillCol3 = fillDat ? #ef5350 : fillDat2 ? #64b5f6 : na


fill(emaslowplot, emafastplot, color=fillCol1, transp=85, title="5 - Plot Fill")
fill(emaslowplot, emaslowplot2, color=fillCol2, transp=80, title="5 - 9 Fill")
fill(emaslowplot2, emaslowplot3, color=fillCol3, transp=75, title="9 - 21 Fill")

//Barcolor

uc = (close > bjemaslow) and (close > bjemaslow2)
dc = (close < bjemaslow) and (close < bjemaslow2)

barColor = uc ? #64b5f6 : dc ? #e91e63 : #b2b5be
barcolor(color=barColor)

c = cross(close, bjemaslow) and cross(close, bjemaslow2)
alertcondition(c, title='Alert Signal', message='Price is crossing EMAs')

if coders may please convert this
it is a very very good moving average that isnt just based on slope alone but heikin ashi and distance of price from the average as well
Attachments
0 + 0 = 0
Infinite / Infinite = 1
1 way to Heaven & it matters


Who is online

Users browsing this forum: Applebot [Crawler], funchi, PaperLi [Bot], Steam1 and 109 guests