NO LINKS, SOURCE CODE REQUESTS OR MODIFICATION OF DECOMPILED INDICATORS. To avoid post deletion please follow the rules.


Re: Schaff Indicators for MT4

#172
Any body now if their STC Indicator - A Better MACD [SHK] for mt4? I have code for tradingview but i need mt4 verion can any one help convert this

Code: Select all

//@version=4
//[SHK] STC colored indicator
//https://www.tradingview.com/u/shayankm/

study(title="[SHK] Schaff Trend Cycle (STC)", shorttitle="STC", overlay=false)
EEEEEE=input(12,"Length")
BBBB=input(26,"FastLength")
BBBBB=input(50,"SlowLength")

AAAA(BBB, BBBB, BBBBB) =>
    fastMA = ema(BBB, BBBB)
    slowMA = ema(BBB, BBBBB)
    AAAA = fastMA - slowMA
    AAAA
    
AAAAA(EEEEEE, BBBB, BBBBB) => 
    AAA=input(0.5)
    var CCCCC = 0.0
    var DDD = 0.0
    var DDDDDD = 0.0
    var EEEEE = 0.0
    BBBBBB = AAAA(close,BBBB,BBBBB)     
    CCC = lowest(BBBBBB, EEEEEE)
    CCCC = highest(BBBBBB, EEEEEE) - CCC    
    CCCCC := (CCCC > 0 ? ((BBBBBB - CCC) / CCCC) * 100 : nz(CCCCC[1])) 
    DDD := (na(DDD[1]) ? CCCCC : DDD[1] + (AAA * (CCCCC - DDD[1]))) 
    DDDD = lowest(DDD, EEEEEE) 
    DDDDD = highest(DDD, EEEEEE) - DDDD     
    DDDDDD := (DDDDD > 0 ? ((DDD - DDDD) / DDDDD) * 100 : nz(DDDDDD[1])) 
    EEEEE := (na(EEEEE[1]) ? DDDDDD : EEEEE[1] + (AAA * (DDDDDD - EEEEE[1])))
    EEEEE

mAAAAA = AAAAA(EEEEEE,BBBB,BBBBB)
mColor = mAAAAA > mAAAAA[1] ? color.new(color.green,20) : color.new(color.red,20)

plot(mAAAAA,color=mColor, title="STC",linewidth=2)

ul=plot(25,color=color.new(color.gray,70))
ll=plot(75,color=color.new(color.gray,70)) 
fill(ul,ll,color=color.new(color.gray,96))
If any one can help that would be good.
Here link to source website
https://www.tradingview.com/script/WhRR ... -MACD-SHK/
Thanks.

Re: Schaff Indicators for MT4

#173
This form is not just for forex but binary too. I wish people would respect every trader and platform they prefer to trade.
ionone wrote:
Wed Aug 11, 2021 4:49 pm
wow so many red flags in such a small sentence...lol

Re: Schaff Indicators for MT4

#174
mrtools wrote:
Sat Jul 24, 2021 9:47 am
The level parameters controls the fill, if you don't want the levels just change the color of the dotted lines to none and if no fill set fill bars to 0, anyway added the adjustable smoothing.
Image
The trend is cyclical (fluctuation), which is almost the consensus of technical traders. In fact, there is no denying the regularity of cycles, such as news dispatching traders and fundamentals dispatching traders.
!!Schaff Trend Cycle-adjustable smoothing (mtf + arrows + alerts) is good. I don't know if it can integrate floating levels, Adaptive and jurik smoothing technology?

Re: Schaff Indicators for MT4

#175
太虚一毫 wrote:
Thu Aug 19, 2021 1:30 pm
The trend is cyclical (fluctuation), which is almost the consensus of technical traders. In fact, there is no denying the regularity of cycles, such as news dispatching traders and fundamentals dispatching traders.
!!Schaff Trend Cycle-adjustable smoothing (mtf + arrows + alerts) is good. I don't know if it can integrate floating levels, Adaptive and jurik smoothing technology?
On STC the first thing we figure is a macd, if my memory serves me right, we have used other things besides macd, but one thing possible would be to make the macd a jurik macd. About making it adaptive, would depend on the type of adaption, and floating levels would be possible too.


Re: Schaff Indicators for MT4

#176
syfer1987 wrote:
Wed Aug 11, 2021 9:11 pm
Any body now if their STC Indicator - A Better MACD [SHK] for mt4? I have code for tradingview but i need mt4 verion can any one help convert this

Code: Select all

//@version=4
//[SHK] STC colored indicator
//https://www.tradingview.com/u/shayankm/

study(title="[SHK] Schaff Trend Cycle (STC)", shorttitle="STC", overlay=false)
EEEEEE=input(12,"Length")
BBBB=input(26,"FastLength")
BBBBB=input(50,"SlowLength")

AAAA(BBB, BBBB, BBBBB) =>
    fastMA = ema(BBB, BBBB)
    slowMA = ema(BBB, BBBBB)
    AAAA = fastMA - slowMA
    AAAA
    
AAAAA(EEEEEE, BBBB, BBBBB) => 
    AAA=input(0.5)
    var CCCCC = 0.0
    var DDD = 0.0
    var DDDDDD = 0.0
    var EEEEE = 0.0
    BBBBBB = AAAA(close,BBBB,BBBBB)     
    CCC = lowest(BBBBBB, EEEEEE)
    CCCC = highest(BBBBBB, EEEEEE) - CCC    
    CCCCC := (CCCC > 0 ? ((BBBBBB - CCC) / CCCC) * 100 : nz(CCCCC[1])) 
    DDD := (na(DDD[1]) ? CCCCC : DDD[1] + (AAA * (CCCCC - DDD[1]))) 
    DDDD = lowest(DDD, EEEEEE) 
    DDDDD = highest(DDD, EEEEEE) - DDDD     
    DDDDDD := (DDDDD > 0 ? ((DDD - DDDD) / DDDDD) * 100 : nz(DDDDDD[1])) 
    EEEEE := (na(EEEEE[1]) ? DDDDDD : EEEEE[1] + (AAA * (DDDDDD - EEEEE[1])))
    EEEEE

mAAAAA = AAAAA(EEEEEE,BBBB,BBBBB)
mColor = mAAAAA > mAAAAA[1] ? color.new(color.green,20) : color.new(color.red,20)

plot(mAAAAA,color=mColor, title="STC",linewidth=2)

ul=plot(25,color=color.new(color.gray,70))
ll=plot(75,color=color.new(color.gray,70)) 
fill(ul,ll,color=color.new(color.gray,96))
If any one can help that would be good.
Here link to source website
https://www.tradingview.com/script/WhRR ... -MACD-SHK/
Thanks.
Check the first few pages of this thread, all the version I'm aware of in this thread is using macd.

Re: Schaff Indicators for MT4

#177
Compare the three Schaff Trend Cycle indicators: Schaff Trend Cycle-adjustable smoothing 1.2, Schaff-Trend Cycle (mtf + arrows + alerts), !! Schaff Trend Cycle-adjustable smoothing (mtf + arrows + alerts):
!!Schaff Trend Cycle-adjustable smoothing (mtf + arrows + alerts) has defects in display.

If the teacher has time, please use the same method (that is, the signal line crosses 80 lines from top to bottom, add a short arrow; the signal line crosses 20 lines from the bottom up, add a long arrow), for Schaff Trend Cycle-adjustable smoothing 1.2. mq4 adds arrows without filling tape.

Boundless merit!
Schaff Trend Cycle - adjustable smoothing 1.2.mq4
(30.03 KiB) Downloaded 68 times
333.png

LikeRe: Schaff Indicators for MT4

#178
mrtools wrote:
Thu Aug 19, 2021 1:48 pm
On STC the first thing we figure is a macd, if my memory serves me right, we have used other things besides macd, but one thing possible would be to make the macd a jurik macd. About making it adaptive, would depend on the type of adaption, and floating levels would be possible too.
_MrTools_ can you add a Jurik MA to the STC???
I am thinking it would be interesting to see if there would be less lag on the signal of the STC.
Thank you in advance.

I love your work on Jurik Volty bands and Chaos Visuals by the way.

Re: Schaff Indicators for MT4

#179
SEC7 wrote:
Wed Sep 08, 2021 11:37 pm
_MrTools_ can you add a Jurik MA to the STC???
I am thinking it would be interesting to see if there would be less lag on the signal of the STC.
Thank you in advance.

I love your work on Jurik Volty bands and Chaos Visuals by the way.
This is the Schaff trend cycle using jurik in the macd.
!!Schaff Trend Cycle jurik.ex4
(35.46 KiB) Downloaded 61 times
GBPUSDH1.png


  1. Similar Topics

    1. SHARE MY INDICATORS NOW

      101 Replies 9430 Views

      by vuongnet, Tue Jun 22, 2021 9:23 pm in MT4 Indicators

      101 Replies
      9430 Views
    2. Two indicators in the window

      5 Replies 1338 Views

      by juanlu999, Sat Apr 24, 2021 2:51 am in MT4 Indicators

      5 Replies
      1338 Views
    3. Confirmation Indicators

      11 Replies 3374 Views

      by Johnson Kuria., Thu Mar 11, 2021 8:45 am in MT5 Indicators

      11 Replies
      3374 Views

Return to “MT4 Indicators”