Dear All:
Below is a code of guppy MA's...
Can anyonepls help how to code the guppy sqeeze and prices above the guppies?
I have tried this:
Guppysqeeze= (( EMA( C, 30 )-( EMA( C, 60 )or (EMA( C, 60 )-( EMA( C, 60 ))<2;
Another thing i am trying is to set one of my buy condition as
when price is trading above the guppies,fo rthis itried-
PT= ( EMA( C, 5 )> ( EMA( C, 30 ) or ( EMA( C, 60 );
Are the ways i am trying are okay or it should be done any other ways..Could
anyone pls tell?
_SECTION_BEGIN("Guppy");
Plot( EMA( C, 30 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
Plot( EMA( C, 35 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
Plot( EMA( C, 40 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
Plot( EMA( C, 45 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
Plot( EMA( C, 50 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
Plot( EMA( C, 50 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
Plot( EMA( C, 60 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart
Style", styleLine|styleNoLabel, mask = maskAll) );
_SECTION_END();