辉煌优配-辉煌优配官网-专业网上配资-正规配资公司官网

文华财经BS买卖主图

发布日期:2024-04-11 03:46    点击次数:202

图片

  

N:=1;

N1:=1;

Q:=0;

Q1:=0;

HH:=HHV(HIGH,N);

LH:=LLV(LOW,N);

H1:=IFELSE(HH<REF(HH,1)&&LH<REF(LH,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,Q)-CLOSE)>Q1,REF(HH,N1),0);

L1:=IFELSE(LH>REF(LH,1)&&HH>REF(HH,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,Q))>Q1,REF(LH,N1),0);

H2:=VALUEWHEN(H1>0,H1);

L2:=VALUEWHEN(L1>0,L1);

K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));

K2:=VALUEWHEN(K1<>0,K1);

G:=IFELSE(K2=1,H2,L2);

G1:=VALUEWHEN(ISLASTBAR,G);

DRAWNUMBER(LH>0,G1,G1,0,COLORCYAN);

TMP:=K2;

W1:=K2;

W2:=OPEN-CLOSE;

HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);

LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);

DRAWLINE(W1=1,HIGH,W1=1,HT,COLORCYAN);

DRAWLINE(W1=1,LOW,W1=1,LT,COLORCYAN);

DRAWLINE(W1=-3,HIGH,W1=-3,HT,COLORRED);

DRAWLINE(W1=-3,LOW,W1=-3,LT,COLORRED);

STICKLINE(W1>0,OPEN,CLOSE,COLORCYAN,1);

STICKLINE(W1<=0,OPEN,CLOSE,COLORRED,1);

STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0);

STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0);

DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF(G,1),COLORCYAN);

DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF(TMP,1)=-3,REF(G,1),COLORRED);

DRAWSL(K2=1,G,0,1,0,COLORCYAN);

DRAWSL(K2=-3,G,0,1,0,COLORRED);

DRAWTEXT(CROSS(TMP,0),HH,'S');

DRAWTEXT(CROSS(0,TMP),LH,'B');

MA55:=MA(CLOSE,55);

DRAWTEXT(CROSS(TMP,0)&&CLOSE<=MA55,HH,'S');

DRAWTEXT(CROSS(0,TMP)&&CLOSE>=MA55,LH,'B');

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。