Stock Liao information

— Basic knowledge of stocks|Introduction to basics of stocks|Stock learning|Basic knowledge of stocks
Mobile access:m.liaochihuo.com

Tongdaxin trend automatic line drawing (formula cracking source code sharing stickers)

Release Time:2021-05-15 Topic:Tongdaxin trend channel line drawing formula Reading:51 Navigation:Stock Liao information > home > Tongdaxin trend automatic line drawing (formula cracking source code sharing stickers) phone-reading

Automatic trend line drawing

{Formula name: Automatic line drawing
Formula description:
No parameters
Formula type: Technical indicator formula-other types
Line drawing method: main image overlay
Formula version: 0
Display decimals: default digits
Coordinate line position: Automatic
Additional Y-axis demarcation: None

Parameter Wizard: None
Usage note: None
Formula source code:)
QA:=REF(HIGH,10)=HHV(HIGH,2*10+1);
QB:=BACKSET(QA,10+1);
QC:=FILTER(QB,10) AND HIGH=HHV(HIGH,10+1);
QD:=BARSLAST(QC);
QE:=IF(QC,CURRBARSCOUNT,0);
QF:=IF(QD,REF(QE,QD),QE);
QG:=CONST(QF);
QH:=REF(QF,QD+1);
QW:=CONST(QH);
TDXSTEP100:DRAWLINE(CURRBARSCOUNT=QW,HIGH,CURRBARSCOUNT=QG,HIGH,1),COLORGREEN;
TDXSTEP101:DRAWLINE(CURRBARSCOUNT=QW,HIGH,ISLASTBAR,REF(HIGH,QW-1),1),COLOR0099FF;
TDXSTEP102:DRAWLINE(CURRBARSCOUNT=QG,HIGH,ISLASTBAR,REF(HIGH,QG-1),1),COLOR0099FF;
QM:=INTPART(3*8/5);
QR:=REF(HIGH,QM)=HHV(HIGH,2*QM+1);
QT:=FILTER(QR,QM);
QY:=BACKSET(QT,QM+1);
QU:=FILTER(QY,QM);
QI:=BACKSET(ISLASTBAR,BARSLAST(QU)+1);
QP:=QI>REF(QI,1);
TDXSTEP103:DRAWLINE(QU,HIGH,QP,HIGH,1),COLORRED;
QA1:=REF(LOW,8)=LLV(LOW,2*8+1);
QB1:=BACKSET(QA1,8+1);
QC1:=FILTER(QB1,8) AND LOW=LLV(LOW,8+1);
QD1:=BARSLAST(QC1);
QE1:=IF(QC1,CURRBARSCOUNT,0);
QF1:=IF(QD1,REF(LOW,QD1),LOW);
QG1:=IF(QD1,REF(QE1,QD1),QE1);
QH1:=CONST(QG1);
QW1:=REF(QF1,QD1+1);
QM1:=REF(QG1,QD1+1);
QR1:=CONST(QM1);
TDXSTEP104:DRAWLINE(CURRBARSCOUNT=QR1,LOW,CURRBARSCOUNT=QH1,LOW,1),COLORBLUE;
TDXSTEP105:DRAWLINE(CURRBARSCOUNT=QH1,LOW,ISLASTBAR,REF(LOW,QH1-1),1),COLORWHITE;
TDXSTEP106:DRAWLINE(CURRBARSCOUNT=QR1,LOW,ISLASTBAR,REF(LOW,QR1-1),1),COLORWHITE;
QT1:=REF(LOW,QM)=LLV(LOW,2*QM+1);
QY1:=FILTER(QT1,QM);
QU1:=BACKSET(QY1,QM+1);
QI1:=FILTER(QU1,QM);
QP1:=BACKSET(ISLASTBAR,BARSLAST(QI1)+1);
QJ1:=QP1>REF(QP1,1);
TDXSTEP107:DRAWLINE(QI1,LOW,QJ1,LOW,1),COLORRED;
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
Front high: =REF(HIGH, BARSLAST(HD));
TDXSTEP108: DRAWICON(CROSS(CLOSE, front high),LOW-0.2,3);
C3:=REF(CLOSE,1);
Daily limit: =IF((CLOSE-C3)*100/C3>=10-0.01*100/C3,2,0);
TDXSTEP109: STICKLINE (daily limit, OPEN, CLOSE, 1.5, 0), COLORYELLOW;
Limit: =IF((C3-CLOSE)*100/C3>=10-0.01*100/C3,2,0);
TDXSTEP110: STICKLINE (stop, OPEN, CLOSE, 1.5, 0), COLORGREEN;

Article Url:https://www.liaochihuo.com/info/558464.html

Label group:[source code

Hot topic

home recommend

home Popular