Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( gMA(dEMA( Premier,3),2 ), "EMA1", ParamColor( "Color", colorRed ),
ParamStyle("Style") );
_SECTION_END();
_SECTION_BEGIN("Magnified Market Price");
//by Vidyasagar, vkunisetty@yahoo.com//
FS=Param("Font Size",20,20,100,1);
GfxSelectFont("Arial", FS, 900, italic = False, underline = False, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor( ParamColor("Color",colorYellow) );
//Hor=Param("Horizontal Position",800,800,800,800);
Hor=Param("Horizontal Position",20,20,500,20);
Ver=Param("Vertical Position",50,50,250,50);
GfxTextOut(""+C,Hor , Ver );
YC=TimeFrameGetPrice("C",inDaily,-1);
DD=Prec(C-YC,2);
xx=Prec((DD/YC)*100,2);
GfxSelectFont("Arial", 12, 700, italic = False, underline = False, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor(ParamColor("Color",colorYellow) );
GfxTextOut(""+DD+" ("+xx+"%)", Hor+5, Ver+45 );
_SECTION_END();
TL =DEMA (HMA( (HHV( H, 4) + LLV( L, 4) )/2,3),4);
SL =hma( ( HHV( H, 13 ) + LLV( L, 13) )/2,3);
DL = Ref( C/2+TL/2, 13 );
Plot(SL,"SL",colorRed,styleThick|styleDots|styleLeftAxisScale); // standard, base,
or kijun-sen line
Plot(DL,"DL",colorWhite,styleLine|styleThick|styleDots|styleLeftAxisScale); //
delayed, lagging, or chikou span