SH's trading the 'greater fool' zone

prst

Well-Known Member
Hi SH,

Do you have any idea how to get this envelope on trade tiger..???
or any other method to plot similar kind of indicator on trade tiger??
since u are using this strategy for EOD data, u can use free version of chart nexus.
am using it for MA envelope setting.
 

adityasaraf007

Well-Known Member
Had posted it earlier.... Anyways, posting again for easy access of members... :)

Code:
_SECTION_BEGIN( "MA Envelope" );
Type = ParamList( "Avg. Type", "SMA,EMA" );
P = ParamField( "Price field", -1 );
Periods = Param( "Avg. Periods", 20, 2, 300, 1, 10 );
F = Param( "Filter %", 5, 0.05, 100, 1 );

if ( Type == "SMA" )
    A = MA( P, Periods );

if ( Type == "EMA" )
    A = EMA( P, Periods );

EnvUp = A + A * F / 100;

EnvDn = A - A * F / 100;

Plot( A, _DEFAULT_NAME(),  IIf( Ref( A, 0 ) > Ref( A, -1 ), ParamColor( "ColorUp", colorWhite ), ParamColor( "ColorDown", colorOrange ) ), ParamStyle( "Style", styleThick ) );

Plot( EnvUp, "EnvUp", ParamColor( "EnvUp Color", colorRed ), styleThick + styleNoLabel );

Plot( EnvDn, "EnvDn", ParamColor( "EnvDn Color", colorGreen ), styleThick + styleNoLabel );

PlotOHLC( EnvUp, EnvDn, EnvUp, EnvDn, "", ParamColor( "Envelope Color", colorDarkOliveGreen ), styleCloud | 4096 );
_SECTION_END();
BTW, there is also something called "Percent Bands" in Ami..... which does the same job for Envelopes based on Simple MA... This code can also be used for Envelopes based on EMA..... Didn't knew it before coding this one....
 

Klewtar

Well-Known Member
This can be basically a manual calculation where we manually find the value of SMA (usually SMA 17) using charting software and then use the following formula?

Upper Band = SMA + (0.015 * SMA)
Lower Band = SMA - (0.015 * SMA)

I found that above formula from the 225th post for having GFZ with the 30 minute swing strategy:
http://www.traderji.com/technical-analysis/63589-shs-trading-greater-fool-zone-23.html#post655928

Edit:
Now that I have access to NIFTY Futures on GCT instead of only NIFTY spot on a non F&O Trade Tiger. I hope I can understand SH's strategies in the chats and posts more clearly with NIFTY futures access and a way to calculate GFZ.
 
Last edited:

Klewtar

Well-Known Member
What is the percentage deviation for using GFZ with EOD 315? I think SMA 17 is used for calculating the GFZ in EOD 315?

Edit:
6% seems to be the answer from the first page
 
Last edited:

Similar threads