高抛低吸(通达信公式 主图 源码 测试图)
PK:=50/C;
A7:=(2*C+H+L)/4;
操作:WMA(A7,5),COLOR0000FF,LINETHICK3;
LLX:LLV(操作,2),COLORFF9900,LINETHICK2;
VAR1:LLV(A7,21),COLOR00FFFF,LINETHICK1;
VAR2:HHV(A7,21),COLOR0044FF,LINETHICK1;
{K线变色}
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0.1,0 ),COLOR0000FF;
STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0.1,0 ),COLOR0000FF;
STICKLINE(CLOSE<OPEN,OPEN,LOW,0.1,0 ),COLOR00FF00;
STICKLINE(CLOSE<OPEN,CLOSE,HIGH,0.1,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR002200;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR004400;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR006600;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR008800;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00DD00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF00FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF44FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFBBFF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!