N:=5;N1:=3;
TG:(MA(CLOSE,5)+MA(CLOSE,8)+MA(CLOSE,13)+MA(CLOSE,21))/4;AA:HHV(TG,3);BB:LLV(TG,3);趋势线:=MA(TG,N),coloryellow;PARTLINE(趋势线,趋势线>REF(趋势线,1),RGB(255,0,0),趋势线<REF(趋势线,1),RGB(0,255,0)),LINETHICK1;FILLRGN(趋势线,REF(趋势线,1),趋势线>REF(趋势线,1),RGB(255,0,0),趋势线<=REF(趋势线,1),RGB(0,255,0) );STICKLINE(BB >趋势线 ,BB,趋势线,1,1),COLOR0000AA;STICKLINE(BB <趋势线 ,BB,趋势线,1,1),COLOR008800;STICKLINE(BB-REF(BB,1)>0 ,AA,BB,7,0),color0000DD;STICKLINE(BB-REF(BB,1)<0 ,BB,AA,7,0),color008800;PARTLINE(AA,AA>REF(AA,1),RGB(255,0,0),AA<REF(AA,1),RGB(0,255,0)),LINETHICK1;PARTLINE(BB,BB>REF(BB,1),RGB(255,0,0),BB<REF(BB,1),RGB(0,255,0)),LINETHICK1;TG1:=(MA(CLOSE,2)+MA(CLOSE,3)+MA(CLOSE,4)+MA(CLOSE,5))/4;AA1:HHV(TG1,3);PARTLINE(AA1,AA1>REF(AA1,1),RGB(255,0,255),AA1<REF(AA1,1),RGB(0,55,250)),LINETHICK2;趋势线1:=MA(TG,N1),coloryellow;PARTLINE(趋势线1,趋势线1>REF(趋势线1,1),RGB(255,255,0),趋势线1<REF(趋势线1,1),RGB(0,55,255)),LINETHICK1;FILLRGN(趋势线1,REF(趋势线1,2),趋势线1>REF(趋势线1,2),RGB(255,255,0),趋势线1<=REF(趋势线1,2),RGB(0,55,255) ); V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);HY1:=REF(EMA(V1,3),1);实时线:=MA(CLOSE,2),Color006400;神秘线:=HY1,Color400080;DRAWTEXT(CROSS(CLOSE,HY1),LOW,'买点'),LINETHICK2,coloryellow;DRAWTEXT(CROSS(HY1,CLOSE),HIGH*1.02,'卖点'),LINETHICK3,colorwhite;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,0.5,0),Color787800;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,8,0),ColorA0A000;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,7,0),ColorB4B400;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,6,0),ColorC8C000;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,5,0),ColorD2D200;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,4,0),ColorDCDC00;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,3,0),ColorE6E600;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,2,0),ColorF0F000;STICKLINE(CLOSE < OPEN,CLOSE,OPEN,1,0),ColorFFFF00;STICKLINE(CLOSE>OPEN,HIGH,LOW,0.5,0) ,COLORFFBBFF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF00FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF22FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF44FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF88FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的同花顺长中短线主图指标公式的问题一些解决方案仅供辅助你学习同花顺公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:同花顺长中短线主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说