第一部分 副图公式 手机/电脑
CHA:(L*4+C*3+O*2+H)/10,COLORFF00FF,LINETHICK2;
CHB:EMA(CHA,21),COLOR00FF00,LINETHICK1;
CHC:=CHA-CHB;
STICKLINE(CHC>=0,(CHA-CHC*0.05),(CHA-CHC*0.15),3,0),COLOR00FFFF;
STICKLINE(CHC>=0,(CHA-CHC*0.2),(CHA-CHC*0.35),3,0),COLOR00CCFF;
STICKLINE(CHC>=0,(CHA-CHC*0.4),(CHA-CHC*0.55),3,0),COLOR0099FF;
STICKLINE(CHC>=0,(CHA-CHC*0.6),(CHA-CHC*0.75),3,0),COLOR0066FF;
STICKLINE(CHC>=0,(CHA-CHC*0.8),(CHA-CHC*0.95),3,0),COLOR0000CC;
STICKLINE(CHC<0,(CHB+CHC*0.05),(CHB+CHC*0.15),3,0),COLOR006600;
STICKLINE(CHC<0,(CHB+CHC*0.2),(CHB+CHC*0.35),3,0),COLOR009900;
STICKLINE(CHC<0,(CHB+CHC*0.4),(CHB+CHC*0.55),3,0),COLOR00CC00;
STICKLINE(CHC<0,(CHB+CHC*0.6),(CHB+CHC*0.75),3,0),COLOR00FF00;
STICKLINE(CHC=0,(CHA-CHC*0.05),(CHA-CHC*0.15),3,0),COLOR00FFFF;
BB:=STICKLINE(CHC>=0,(CHA-CHC*0.2),(CHA-CHC*0.35),3,0),COLOR00CCFF;
CC:=STICKLINE(CHC>=0,(CHA-CHC*0.4),(CHA-CHC*0.55),3,0),COLOR0099FF;
买:CROSS(CHA,CHB);
{卖出公式:卖}
CHA:=(L*4+C*3+O*2+H)/10,COLORFF00FF,LINETHICK2;
CHB:=EMA(CHA,21),COLOR00FF00,LINETHICK1;
CHC:=CHA-CHB;
AA:=STICKLINE(CHC<0,(CHB+CHC*0.4),(CHB+CHC*0.55),3,0),COLOR00CC00;
BB:=STICKLINE(CHC<0,(CHB+CHC*0.6),(CHB+CHC*0.75),3,0),COLOR00FF00;
CC:=STICKLINE(CHC<0,(CHB+CHC*0.8),(CHB+CHC*0.95),3,0),COLOR66FF00;
卖:CROSS(CHB,CHA);
|