通达信自编时间窗主图买卖参考指标公式
通达信自编时间窗主图买卖参考指标公式:
AA:=HHV(HIGH,2);
BB:=LLV(LOW,2);
八日:=REF(LOW,7)=LLV(LOW,11) && AA=HHV(HIGH,11);
十三日:=REF(LOW,12)=LLV(LOW,15) && AA=HHV(HIGH,15);
十七日:=REF(LOW,16)=LLV(LOW,20) && AA=HHV(HIGH,20);
二十一日:=REF(LOW,20)=LLV(LOW,26) && AA=HHV(HIGH,26);
三十日:=REF(LOW,29)=LLV(LOW,35) && AA=HHV(HIGH,35);
五十五日:=REF(LOW,54)=LLV(LOW,60) && AA=HHV(HIGH,60);
八十九日:=REF(LOW,88)=LLV(LOW,95) && AA=HHV(HIGH,95);
STICKLINE(八日,LOW*0.995,REF(LOW,7),1,1),COLORYELLOW;
STICKLINE(十三日,LOW*0.995,REF(LOW,12),1,1),COLORRED;
STICKLINE(十七日,LOW*0.995,REF(LOW,16),1,1),COLORGREEN;
STICKLINE(二十一日,LOW*0.995,REF(LOW,20),1,1),COLORLIMAGENTA;
STICKLINE(三十日,LOW*0.995,REF(LOW,29),1,1),COLORBLUE;
STICKLINE(五十五日,LOW*0.995,REF(LOW,54),1,1),COLORWHITE;
STICKLINE(八十九日,LOW*0.995,REF(LOW,88),1,1),COLORWHITE;
DRAWTEXT(八日,REF(LOW,7)*0.985,'8'),COLORYELLOW;
DRAWTEXT(十三日,0.985*REF(LOW,12),'13'),COLORRED;
DRAWTEXT(十七日,0.985*REF(LOW,16),'17'),COLORGREEN;
DRAWTEXT(二十一日,0.985*REF(LOW,20),'21'),COLORLIMAGENTA;
DRAWTEXT(三十日,0.985*REF(LOW,29),'30'),COLORBLUE;
DRAWTEXT(五十五日,0.985*REF(LOW,54),'55'),COLORWHITE;
DRAWTEXT(八十九日,0.985*REF(LOW,88),'89'),COLORWHITE;
八日B:=REF(HIGH,7)=HHV(HIGH,11) && BB=LLV(LOW,11);
十三日B:=REF(HIGH,12)=HHV(HIGH,15) && BB=LLV(LOW,15);
十七日B:=REF(HIGH,16)=HHV(HIGH,20) && BB=LLV(LOW,20);
二十一日B:=REF(HIGH,20)=HHV(HIGH,26) && BB=LLV(LOW,26);
三十日B:=REF(HIGH,29)=HHV(HIGH,35) && BB=LLV(LOW,35);
五十五日B:=REF(HIGH,54)=HHV(HIGH,60) && BB=LLV(LOW,60);
八十九日B:=REF(HIGH,88)=HHV(HIGH,95) && BB=LLV(LOW,95);
STICKLINE(八日B,HIGH*1.005,REF(HIGH,7),1,1),COLORYELLOW;
STICKLINE(十三日B,HIGH*1.005,REF(HIGH,12),1,1),COLORRED;
STICKLINE(十七日B,HIGH*1.005,REF(HIGH,16),1,1),COLORGREEN;
STICKLINE(二十一日B,HIGH*1.005,REF(HIGH,20),1,1),COLORLIMAGENTA;
STICKLINE(三十日B,HIGH*1.005,REF(HIGH,29),1,1),COLORBLUE;
STICKLINE(五十五日B,HIGH*1.005,REF(HIGH,54),1,1),COLORWHITE;
STICKLINE(八十九日B,HIGH*1.005,REF(HIGH,88),1,1),COLORWHITE;
DRAWTEXT(八日B,REF(HIGH,7)*1.015,'8'),COLORYELLOW;
DRAWTEXT(十三日B,1.015*REF(HIGH,12),'13'),COLORRED;
DRAWTEXT(十七日B,1.015*REF(HIGH,16),'17'),COLORGREEN;
DRAWTEXT(二十一日B,1.015*REF(HIGH,20),'21'),COLORLIMAGENTA;
DRAWTEXT(三十日B,1.015*REF(HIGH,29),'30'),COLORBLUE;
DRAWTEXT(五十五日B,1.015*REF(HIGH,54),'55'),COLORWHITE;
DRAWTEXT(八十九日B,1.015*REF(HIGH,88),'89'),COLORWHITE;
通达信自编时间窗主图买卖参考指标公式实例图解:
通达信自编时间窗主图买卖参考指标公式