Page 2071 of 2130

Re: MT4 Indicator requests and ideas

Posted: Thu Oct 03, 2024 1:17 pm
by global
RodrigoRT7 wrote: Tue Oct 01, 2024 2:27 am Good afternoon Mr Tools, how are you?

So to comment, if by chance the Linear Regression Slope is not in sync with the avgs/rmas, there is no problem. the MTF will already be excellent. :D

It helps well with trend following entries on the 4-hour chart. I use it at the 0 line crossing, and I'm testing it with this line filter as shown in the photo, something like a TDFI.

In any case, there’s no rush to this humble idea, :D .

Thank you in advance and I wish you a great week :D

post1295550953.html#p1295550953
Hi RodrigoRT7,

I was just wondering, what did you use to do the backtests that produced the results you posted shown below? Was it MT4's Backtester or something else?

Re: MT4 Indicator requests and ideas

Posted: Thu Oct 03, 2024 2:02 pm
by RodrigoRT7
global wrote: Thu Oct 03, 2024 1:17 pm Hi RodrigoRT7,

I was just wondering, what did you use to do the backtests that produced the results you posted shown below? Was it MT4's Backtester or something else?
Hello global, how are you?

I'm not the one who produces it, it's from NNFX, in this case, from the Stonehill Forex website. They do a basic backtest on some indicators, and I see which ones I think fit best with my trading system and make some suggestions for improvements.

Re: MT4 Indicator requests and ideas

Posted: Fri Oct 04, 2024 11:26 am
by global
RodrigoRT7 wrote: Thu Oct 03, 2024 2:02 pm Hello global, how are you?

I'm not the one who produces it, it's from NNFX, in this case, from the Stonehill Forex website. They do a basic backtest on some indicators, and I see which ones I think fit best with my trading system and make some suggestions for improvements.
Ok, thank you very much for your response.

Re: MT4 Indicator requests and ideas

Posted: Mon Oct 07, 2024 7:31 am
by Pucmola
Hello, Can you please add audio alerts during candle formation to this great indicator of yours? you can then repost it on forex station, thank you!

best regards,
Ricaro


...Here it is... Enjoy


Edit: my mistake... i sent the old version - here's the new one...

Re: MT4 Indicator requests and ideas

Posted: Mon Oct 07, 2024 8:23 am
by uncle wong
Hello MrTools ,

Is it possible to convert the below Tradingwview indicator into mql4 ?
Here is the explanation and the code:

So i had the idea of averaging the input and the output of the respective close/open/high and low price using a recursive exponential window functions, each values will be closer to their true value if they are volatile, if they are not then those values will look smoother, the length input represents the reactivity of the candles, high values represents smoother results but less reactive.The goal of those candles is to make all the information easier to interpret by a trader.500 input length, the price look smoother, supports and resistances are easier to make.

Code: Select all

//@version=2
study("Retrospective Candlestick Chart",overlay=true)
length = input(100)
//
s(x) =>
    s = stoch(x,x,x,length)/100
//
weight = s(abs(change(close)))
c = weight * close + (1-weight) * nz(c[1],close)
h = weight * high + (1-weight) * nz(c[1],high)
l = weight * low + (1-weight) * nz(c[1],low)
o = weight * open + (1-weight) * nz(c[1],open)
k = (c+h+l+o)/4
//
plotcandle(k[1],h,l,k,color=k > k[1] ? #2E9AFE : red)
plot(k,title="Value",color=na,editable=false)


Re: MT4 Indicator requests and ideas

Posted: Tue Oct 08, 2024 2:54 am
by mrtools
uncle wong wrote: Mon Oct 07, 2024 8:23 am Hello MrTools ,

Is it possible to convert the below Tradingwview indicator into mql4 ?
Here is the explanation and the code:

So i had the idea of averaging the input and the output of the respective close/open/high and low price using a recursive exponential window functions, each values will be closer to their true value if they are volatile, if they are not then those values will look smoother, the length input represents the reactivity of the candles, high values represents smoother results but less reactive.The goal of those candles is to make all the information easier to interpret by a trader.500 input length, the price look smoother, supports and resistances are easier to make.

Code: Select all

//@version=2
study("Retrospective Candlestick Chart",overlay=true)
length = input(100)
//
s(x) =>
    s = stoch(x,x,x,length)/100
//
weight = s(abs(change(close)))
c = weight * close + (1-weight) * nz(c[1],close)
h = weight * high + (1-weight) * nz(c[1],high)
l = weight * low + (1-weight) * nz(c[1],low)
o = weight * open + (1-weight) * nz(c[1],open)
k = (c+h+l+o)/4
//
plotcandle(k[1],h,l,k,color=k > k[1] ? #2E9AFE : red)
plot(k,title="Value",color=na,editable=false)

Looking into it not sure if I will be able to do this one though.

Re: MT4 Indicator requests and ideas

Posted: Tue Oct 08, 2024 10:15 am
by nine
hello i am trying to add dots for buy and sell to this dmx histo and its giving me a little bit of trouble. i was hoping if i seen it done i could figure it out and get a better understanding of how the code functions. i wanted the dots red for sell (or what ever color) green for buy. i was trying to plot on the dmx line and/or the signal line where it crosses i thought at the first skinny bar after the bold bars would be an ideal location green dots on the red histo and red dots on the green histo. i tried to draw arrows at the preferred locations. was hoping i could get some help with this. thanks in advance for any assistance. was hoping once i seen it done i might be able to figure out how to do it. all my attempts so far have not worked

Re: MT4 Indicator requests and ideas

Posted: Tue Oct 08, 2024 1:41 pm
by mrtools
nine wrote: Tue Oct 08, 2024 10:15 am hello i am trying to add dots for buy and sell to this dmx histo and its giving me a little bit of trouble. i was hoping if i seen it done i could figure it out and get a better understanding of how the code functions. i wanted the dots red for sell (or what ever color) green for buy. i was trying to plot on the dmx line and/or the signal line where it crosses i thought at the first skinny bar after the bold bars would be an ideal location green dots on the red histo and red dots on the green histo. i tried to draw arrows at the preferred locations. was hoping i could get some help with this. thanks in advance for any assistance. was hoping once i seen it done i might be able to figure out how to do it. all my attempts so far have not worked
Try here

Re: MT4 Indicator requests and ideas

Posted: Tue Oct 08, 2024 9:49 pm
by nine
yes, thats it. wonderful thanks a ton, this really helps

Re: MT4 Indicator requests and ideas

Posted: Wed Oct 09, 2024 7:02 am
by nine
thanks for the arrows on the dmx i am working on a signal confirmation/filter where the dmx arrows align with a chart signal and a signal from the TRIX.crossover indicator like pictured. i searched and could not find the mql/source code for it. the closest i found was the t3 trix indicator. the crossover is the window with the dots in the picture and the t3 is the one below it. i am hoping to replicate it or obtain a suitable alternative perhaps with the t3. the t3 is close i may be able to fine tune the settings though i think the crossover indicator may be better suited for my uses. i think its the same thing only the basic version without additional smoothing. i have included the inputs in the post. i have been trying to use the simplest or most basic forms of the code because mostly my uses are geared towards embedding the code into an Expert. i think the t3 was the most basic version of the code i could find that was similar. on to my request.

"could you make a trix crossover indicator like the one in the picture with buy/sell dots plotted on the signal line? or add the buy sell dots to the t3 trix. ? or both(ideally)?

i did not know if it would be easier to do both or make one where the smoothing could be turned off where it was the basic tema + ema for the trix crossover and turned on for the t3 with dots. if i had both i could compare to get the best application. i like the t3 i think it eliminates some of the signals which would likely be better for signal generation though i am trying to line the signals up and it looks like the basic calculation with out the smoothing may provide more dots/signals for confirmation. it was the indicator i was using when i formulated the idea. i looked around but did not see anything simalar on forex station- other than the indicators like the t3 without the dots( buy/sell points ).

thanks for the consideration. i don't mean to be a bother and i will try not to make a habit of requesting too much. i figured that while i had your ear id see if it could be done. this is the last part of my strategy then i should be able to start putting the pieces together for the signals in the EA. thanks again. this is helping out immensely. and i appreciate it. i tried to do both add dots and make the indicator though i was unsuccessful.