Support Board
Date/Time: Sun, 24 Nov 2024 00:39:10 +0000
[User Discussion] - Converting MT4 indicator StepUp for Sierra charts
View Count: 3751
[2018-03-16 09:01:13] |
User964132 - Posts: 93 |
Hi, I used to really like this indicator, it is called stepup, others call it block-moving average. It can keep you in a trend for a longer time then with normal moving averages. Is it possible to get this for Sierra charts? Or has somebody this already coded for Sierra charts? There are many different versions, I just attached one of them for reference. The picture shows the indy with settings (0,0,34,50,2,1,0,1,0) on a 5m EURUSD chart. Thanks a lot! Regards, Nicolaas |
EURUSD with Stepup.PNG / V - Attached On 2018-03-16 08:50:32 UTC - Size: 135.68 KB - 707 views Private File |
[2018-05-04 16:46:35] |
User964132 - Posts: 93 |
I coded a more simplified stepup moving average (or block moving average) for tradestation, maybe this is easier to code for Sierra charts? Unfortunatly I still can't code myself for Sierra charts :-( Would highly appreciate if someone could code this (using either the code in post one, or the code below) Thanks! Regards, NK Easylanguage code: {=== StepUp Moving Average OR Block Moving Average =============}
Inputs: SU_ATR_Length ( 2000 ), SU_ATR_BoxMultiplyer_1 ( 8 ), SU_ATR_BoxMultiplyer_2 ( 13 ); Vars: SU_DIR1(0), SU_WorkBoxHalf1(0), SU_Midl1(0), SU_Bot1(0), SU_Top1(0), SU_DIR2(0), SU_WorkBoxHalf2(0), SU_Midl2(0), SU_Bot2(0), SU_Top2(0) ; SU_WorkBoxHalf1 = ( SU_ATR_BoxMultiplyer_1 * AvgTrueRange( SU_ATR_Length ) * 0.5 ) ; If H > SU_Top1 then begin SU_DIR1 = 1 ; SU_Top1 = H ; SU_Midl1 = SU_Top1 - SU_WorkBoxHalf1 ; SU_Bot1 = SU_Top1 - ( 2 * SU_WorkBoxHalf1 ) ; End else If L < SU_Bot1 then begin SU_DIR1 = -1 ; SU_Bot1 = L ; SU_Midl1 = SU_Bot1 + SU_WorkBoxHalf1 ; SU_Top1 = SU_Bot1 + ( 2 * SU_WorkBoxHalf1 ) ; end ; SU_WorkBoxHalf2 = ( SU_ATR_BoxMultiplyer_2 * AvgTrueRange( SU_ATR_Length ) * 0.5 ) ; If H > SU_Top2 then begin SU_DIR2 = 1 ; SU_Top2 = H ; SU_Midl2 = SU_Top2 - SU_WorkBoxHalf2 ; SU_Bot2 = SU_Top2 - ( 2 * SU_WorkBoxHalf2 ) ; End else If L < SU_Bot2 then begin SU_DIR2 = -1 ; SU_Bot2 = L ; SU_Midl2 = SU_Bot2 + SU_WorkBoxHalf2 ; SU_Top2 = SU_Bot2 + ( 2 * SU_WorkBoxHalf2 ) ; end ; { ================ Print ======================================} vars: SU_mid_C1(0), SU_mid_C2(0); If SU_DIR1 = 1 then SU_mid_C1 = cyan else SU_mid_C1 = magenta ; plot1 ( SU_Midl1, " SU_Midl1 " , SU_mid_C1 ) ; If SU_DIR2 = 1 then SU_mid_C2 = cyan else SU_mid_C2 = magenta ; plot2 ( SU_Midl2, " SU_Midl2 ", SU_mid_C2 ) ; |
TMA with double bands on Oil.PNG / V - Attached On 2018-05-04 16:45:54 UTC - Size: 159.01 KB - 643 views |
[2018-05-06 22:40:03] |
Sierra Chart Engineering - Posts: 104368 |
We will see if someone can help you with this for an extra cost.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2018-05-08 11:19:30] |
User964132 - Posts: 93 |
As you can see this indicator is quite popular, would be nice to have it for Sierra charts!! https://www.mql5.com/en/forum/173044 |
To post a message in this thread, you need to log in with your Sierra Chart account: