马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 股友会 于 2015-10-7 09:37 编辑
STICKLINE(CLOSE>OPEN,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,2,1),COLORYELLOW;
STICKLINE(CLOSE>OPEN,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,2,1),COLORRED;
昨中价位:REF(OPEN,1)+REF(CLOSE,1)/2,COLORYELLOW,NODRAW;
上三分之一位: (MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),NODRAW;
下三分之一位: (MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
倍量:VOL>=REF(V,1)*1.9 AND C>=O,NODRAW;
DRAWTEXT(倍量,LOW*0.99,'↖倍量'),COLORYELLOW;
STICKLINE(倍量,OPEN,CLOSE,0.5,0),COLORYELLOW;
K1:=SUMBARS(倍量,1);
STICKLINE(K1,REF(O,K1-1),REF(O,K1-1),10,0),COLORYELLOW;
VAR2:=1*AMOUNT;
月天量:=VAR2=HHV(VAR2,20);
季天量:=VAR2=HHV(VAR2,60);
百天量:=VAR2=HHV(VAR2,100);
年天量:=VAR2=HHV(VAR2,240);
天量: (季天量 OR 百天量 OR 年天量),NODRAW;
DRAWTEXT(天量,LOW*0.95,'↖高'),COLORRED;
STICKLINE(天量,OPEN,CLOSE,0.5,0),COLORRED;
K11:=SUMBARS(天量,1);
STICKLINE(K11,REF(O,K11-1),REF(O,K11-1),10,0),COLORRED;
缺口:O>REF(H,1),NODRAW;
DRAWTEXT(缺口,LOW*0.93,'↖缺'),COLORWHITE;
STICKLINE(缺口,OPEN,CLOSE,0.5,0),COLORWHITE;
K111:=SUMBARS(缺口,1);
STICKLINE(K111,REF(0,K111-1),REF(0,K111-1),10,0),COLORWHITE;
DRAWTEXT((K111,REF(0,K111-1),REF(0,K111-1),10,0),LOW,'平台'),COLORRED;
原帖来自于小朋友1,但帖中多有错漏,居然还要20学分,遂修正发布。是否合用,请各学友自行斟酌!!!
补充内容 (2015-10-7 23:27):
公式中有个bug,请将 昨中价位:REF(OPEN,1)+REF(CLOSE,1)/2,COLORYELLOW,NODRAW;改成昨中价位:(REF(OPEN,1)+REF(CLOSE,1))/2,COLORYELLOW,NODRAW; |