Hi Mrtools, Can you add a header to this indicator please?
Kind Regards
Re: MT4 Indicator requests and ideas
19122Thanks 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
Open Price Horizontal Line v1.2.mq4
(2.95 KiB) Downloaded 10 times
Copied and pasted the above I'm sorry to bother you sir because am not sure if I didn't directly quote the original maybe the next request will be lost in the many posts.
Thank you so much
The multiple instances is my major request then DrawEndTime. No button, am fine with that. Thanks for your help
Re: MT4 Indicator requests and ideas
19123sorry for late replay..kvak wrote: Sun Aug 06, 2023 3:15 am 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.
in this indicator you can can see only WMA for cci price where as your hisotbar i can see only LWMA . is this both same ??
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: MT4 Indicator requests and ideas
19124Sorry, really dont understand......sal wrote: Sun Aug 06, 2023 3:51 pm sorry for late replay..
in this indicator you can can see only WMA for cci price where as your hisotbar i can see only LWMA . is this both same ??
Stochastic histogram posted HERE
Re: MT4 Indicator requests and ideas
19125Me personally have no idea how to convert it.Chickenspicy wrote: Sun Aug 06, 2023 9:46 amif coders may please convert thisCode: 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')
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
- These users thanked the author mrtools for the post:
- Chickenspicy
Re: MT4 Indicator requests and ideas
19126Here's a breakdown of the script:
Heiken Ashi Calculation:
The script calculates Heiken Ashi candlestick values (haOpen, haHigh, haLow, and haClose) based on the regular open, high, low, and close prices.
Exponential Moving Averages (EMAs) Calculation:
The script calculates three EMAs of different periods: 5 EMA (emaslow), 9 EMA (emaslow2), and 21 EMA (emaslow3) on the Heiken Ashi open prices (haOpen).
Plotting:
The script plots the three EMAs on the chart with different colors to visualize them.
It also plots the Heiken Ashi open prices as a black line.
Area Plot Fills:
The script fills the area between the 5 EMA and the Heiken Ashi open price with a red or blue color, depending on whether the 5 EMA is above or below the Heiken Ashi open price.
It does the same for the area between the 9 EMA and the 5 EMA and between the 21 EMA and the 9 EMA.
Bar Color:
The bar color (candlestick color) is determined based on whether the close price is above both the 5 EMA and the 9 EMA (blue), or below both EMAs (pink), or neutral (gray).
Alerts:
An alert condition is set to trigger when the price crosses either the 5 EMA or the 9 EMA.
This strategy aims to provide indications for potential buy and sell signals based on the EMA crossovers and Heiken Ashi smoothing.
Who knows others is wise
Who knows himself is enlightened
Who knows himself is enlightened
Re: MT4 Indicator requests and ideas
19127Try here .Lightningstorm7 wrote: Sun Aug 06, 2023 11:44 am Hi Mrtools, Can you add a header to this indicator please?
Kind Regardss-stochtrend BT.mq4
- These users thanked the author mrtools for the post:
- Lightningstorm7
Re: MT4 Indicator requests and ideas
19128You left out the bj ema fastdmnik wrote: Mon Aug 07, 2023 4:05 am Here's a breakdown of the script:
Heiken Ashi Calculation:
The script calculates Heiken Ashi candlestick values (haOpen, haHigh, haLow, and haClose) based on the regular open, high, low, and close prices.
Exponential Moving Averages (EMAs) Calculation:
The script calculates three EMAs of different periods: 5 EMA (emaslow), 9 EMA (emaslow2), and 21 EMA (emaslow3) on the Heiken Ashi open prices (haOpen).
Plotting:
The script plots the three EMAs on the chart with different colors to visualize them.
It also plots the Heiken Ashi open prices as a black line.
Area Plot Fills:
The script fills the area between the 5 EMA and the Heiken Ashi open price with a red or blue color, depending on whether the 5 EMA is above or below the Heiken Ashi open price.
It does the same for the area between the 9 EMA and the 5 EMA and between the 21 EMA and the 9 EMA.
Bar Color:
The bar color (candlestick color) is determined based on whether the close price is above both the 5 EMA and the 9 EMA (blue), or below both EMAs (pink), or neutral (gray).
Alerts:
An alert condition is set to trigger when the price crosses either the 5 EMA or the 9 EMA.
This strategy aims to provide indications for potential buy and sell signals based on the EMA crossovers and Heiken Ashi smoothing.
Re: MT4 Indicator requests and ideas
19129Hello, dont know how it is close to TV version but I made one version and posted it HERE
If you want some adjustment, request it.
- These users thanked the author kvak for the post (total 2):
- Chickenspicy, RodrigoRT7
Re: MT4 Indicator requests and ideas
19130did you find a solution?mrtools wrote: Sat Jul 22, 2023 4:07 am That one is basically the same, let me do some research maybe I can find a way, but no promises.