.

Re: Coding help ...

#951
traderduke wrote:
Tue Feb 19, 2019 4:04 am
mladen wrote:
Fri Feb 15, 2019 4:37 am


Ray

What exactly would the source code change? After all, you would again have to call it using iCustom(). Or you would like to improve that indicator? If yes, then again you do not need the source code - after all we are all welcome for improvements
mladen
Thanks for the reply. I was just trying for a simpler MTF version so I could add my dashboard function to the a Channel indicator.
Ray
Ray

In all honesty, you shall not find simpler (and faster) code for multi time frame processing then the code that me and mrtools are using for at least the last year.

regards
Mladen


Re: Coding help ...

#953
Dear Mladen/Mr Tools and Jimmy

I have had no reply regarding making the Rocket RSI into MT4, don't know if it can be done or not ? . Anyways, so i decided to use the MT5 version. My question is this, if the following below code can be used would it not make the indicator compute 5x faster. I am slowly trying my hand at coding issues and trying to learn about code as it fascinates me. Something i picked up online. Would it work ?

//Compute Super Smoother coefficients once
if barindex = 1 then
a1 = exp( -1.414 * 3.14159/ ( SmoothLength ) )
b1 = 2 * a1 * Cos( 1.414 * 180/ ( SmoothLength ) )
c2 = b1
c3 = -square(a1)
c1 = 1 – c2 – c3

drawhline (0)
drawhline (OBOSLevel) coloured(255,0,0)
drawhline (-OBOSLevel) coloured(255,0,0)
endif

if barindex > RSILength then
//Create half dominant cycle Momentum
Mom = Close – Close[RSILength – 1]

//SuperSmoother Filter
Filt = c1 * ( Mom + Mom[1] ) / 2 + c2 * Filt[1] + c3 * Filt[2]

//Accumulate “Closes Up” and “Closes Down”
CD = 0
CU = 0

if Filt[0] > Filt[1] then
CU = Filt[0] – Filt[1]
else
CD = Filt[1] – Filt[0]
endif

RCU = summation[RSILength](CU)
RCD = summation[RSILength](CD)

if RCU + RCD 0 then
MyRSI = ( RCU – RCD ) / ( RCU + RCD )
endif

//Limit RocketRSI output to
//+/- 3 Standard Deviations
MyRSI = min(max(MyRSI,-.999),.999)

//Apply Fisher Transform to establish
//Gaussian Probability Distribution
RocketRSI = .5 * Log( ( 1 + MyRSI ) / ( 1 – MyRSI ) )
endif

return RocketRSI coloured(0,0,255) as “RocketRSI”


Kind regards

Naughty 77

Re: Coding help ...

#954
wojtek wrote:
Thu Feb 21, 2019 10:19 am
Dear Coders, could you please make a histogram version of the attached indicator?
Does it repaint?
Magic trend is a cci version of super trend know there are some histogram version here available.


Re: Coding help ...

#956
Hi

Can anybody tell me how to remove an indicators name,script etc in a sub-window of MT4. for example you have to indicators overlapping,then the name is long and interferes with things....can it be removed any way ?

Kind regards

Naughty 77

Re: Coding help ...

#957
Naughty 77 wrote:
Tue Feb 26, 2019 12:52 am
Hi

Can anybody tell me how to remove an indicators name,script etc in a sub-window of MT4. for example you have to indicators overlapping,then the name is long and interferes with things....can it be removed any way ?

Kind regards

Naughty 77
Cattura.JPG
The perfect indicatoris our head ...

Too many indicators confuse the head

Re: Coding help ...

#960
Can somebody tell me how to fix this line.
expression not boolean RK-StepMa_bss_sq_soma2.3_wto-3MAhlL_Dol EA-v2-wtrendwdayw8.5TrlS.mq4 247 26

//Skip if trading 24hrs
line 247 if (Trade24hr) return(True);
I seem to have a lot of these now.
thank you
Ray



Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests