可配合K线,指示黄金分割操盘示意图。波形图由蓝转红为建仓和持股期,由红转蓝为减仓和出货期。横盘阶段慎重使用
日:=n;昨前:=1;
高:REF(HHV(H,日),昨前),colorblue,LINETHICK2;
低:REF(LLV(L,日),昨前),colorred,LINETHICK2;
一:高-(高-低)*0.191,colorred;
三:高-(高-低)*0.382,coloryellow;
五:高-(高-低)*0.5,colorgreen;
六:高-(高-低)*0.618,colormagenta;
八:高-(高-低)*0.809,colorcyan;
顶:高*1,colorred;
低:低*1,colorwhite;
止:一*1,coloryellow;
回:三*1,colormagenta;
平:五*1,colorred;
反:六*1,colorcyan;
建:八*1,coloryellow;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),顶,'顶点'),COLORFFCC18;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),止,'0.191'),COLORFF18FF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),回,'0.382'),COLOR18FF18;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),平,'0.5'),COLOR18CCFF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),反,'0.618'),COLORFFFFFF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),建,'0.809'),COLOR00CCFF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),低,'低点'),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF11;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLOR008855;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,9,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00FF55;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,COLORFF00FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF44FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFFAAFF;
E3:EMA(CLOSE, 3);
E5:EMA(CLOSE, 5);
E8:EMA(CLOSE, 8);
E10:EMA(CLOSE, 10);
E12:EMA(CLOSE, 12);
E15:EMA(CLOSE, 15);
E30:EMA(CLOSE, 30);
E35:EMA(CLOSE, 35);
E40:EMA(CLOSE, 40);
E45:EMA(CLOSE, 45);
E50:EMA(CLOSE, 50);
E55:EMA(CLOSE, 55);
移动端首页 | PC端
© by Gszb.com Mobile Web
可配合K线,指示黄金分割操盘示意图。波形图由蓝转红为建仓和持股期,由红转蓝为减仓和出货期。横盘阶段慎重使用
日:=n;昨前:=1;
高:REF(HHV(H,日),昨前),colorblue,LINETHICK2;
低:REF(LLV(L,日),昨前),colorred,LINETHICK2;
一:高-(高-低)*0.191,colorred;
三:高-(高-低)*0.382,coloryellow;
五:高-(高-低)*0.5,colorgreen;
六:高-(高-低)*0.618,colormagenta;
八:高-(高-低)*0.809,colorcyan;
顶:高*1,colorred;
低:低*1,colorwhite;
止:一*1,coloryellow;
回:三*1,colormagenta;
平:五*1,colorred;
反:六*1,colorcyan;
建:八*1,coloryellow;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),顶,'顶点'),COLORFFCC18;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),止,'0.191'),COLORFF18FF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),回,'0.382'),COLOR18FF18;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),平,'0.5'),COLOR18CCFF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),反,'0.618'),COLORFFFFFF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),建,'0.809'),COLOR00CCFF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),低,'低点'),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF11;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLOR008855;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,9,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00FF55;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,COLORFF00FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF44FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFFAAFF;
E3:EMA(CLOSE, 3);
E5:EMA(CLOSE, 5);
E8:EMA(CLOSE, 8);
E10:EMA(CLOSE, 10);
E12:EMA(CLOSE, 12);
E15:EMA(CLOSE, 15);
E30:EMA(CLOSE, 30);
E35:EMA(CLOSE, 35);
E40:EMA(CLOSE, 40);
E45:EMA(CLOSE, 45);
E50:EMA(CLOSE, 50);
E55:EMA(CLOSE, 55);