不同的分割线(源码、主图、贴图)介绍
不同的分割线(源码、主图、贴图)
POINTDOT,类似黄金分割,--------------台阶
AA:=IF((CLOSE < 100),CLOSE,(CLOSE / 100));
AN:=INTPART(((4 * (LOG(AA) / LOG(2))) + 1));
BN:=((AN - 1) / 4);
PBN0:(POW(2,BN) * 100),POINTDOT,LINETHICK4;
PBN4:(POW(2,(BN + (1 / 4))) * 100),COLORRED,POINTDOT,,LINETHICK4;
PBN6:(POW(2,(BN + (1 / 6))) * 100),POINTDOT;
PBN8:(POW(2,(BN + (1 / 8))) * 100),POINTDOT,LINETHICK4;
PBN1:(POW(2,(BN + (1 / 14))) * 100),POINTDOT;
VAR1X:=IF(CLOSE>1600,191.3,IF(CLOSE>120,91.3,
IF(CLOSE>50,8.1,IF(CLOSE>20,3.1,0.913))));
下X:INTPART(CLOSE/VAR1X )*VAR1X,LINETHICK,COLORGREEN;
DRAWTEXT(下X>0 ,下X,'----------'),COLORGREEN;
上X:下X+VAR1X,LINETHICK,COLORYELLOW ;
DRAWTEXT(上X>0 ,上X,'----------'),COLORYELLOW;
中X:(下X+上X)/2,COLORWHITE,NODRAW,;
DRAWTEXT(中X>0 AND NOT(CAPITAL=0),中X,'--------------'),COLORWHITE;
gd14908