AAA1:=REF(C,2);
二分位:MIN(OPEN,CLOSE)+(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/2;
AAA2:=(REF(二分位,1)-AAA1)*1.5+REF(二分位,1);
今日压力:=AAA2;
明日压力:=(二分位-REF(C,1))*1.5+二分位;
AAA3:=MA(今日压力,3);
AAA4:=IF(C>REF(C,1),二分位,L);
MA1:=MA(AAA4,3);
QKCP:IF(AAA3>MA1,AAA3,MA1),POINTDOT,COLORYELLOW;
SMQK:EMA(QKCP,24),COLORLICYAN,LINETHICK3;
IF(SMQK>REF(SMQK,1),SMQK,DRAWNULL)COLORMAGENTA,LINETHICK3;
LGJA:=POW((MA(C,3)-SMQK),2);
LGJB:=EMA(LGJA,24);
LGJC:=SQRT(LGJB);
上轨:SMQK+(1.95*LGJC);
下轨:SMQK-(1.95*LGJC);
{ 爱约股_最新股票指标公式}
STICKLINE(C>=O,L,H,0,0),COLOR0077AA;
STICKLINE(C>=O,C,O,3,0),COLOR001155;
STICKLINE(C>=O,C,O,2.5,0),COLOR002266;
STICKLINE(C>=O,C,O,2,0),COLOR003377;
STICKLINE(C>=O,C,O,1.5,0),COLOR004488;
STICKLINE(C>=O,C,O,1,0),COLOR005599;
STICKLINE(C>=O,C,O,0.5,0),COLOR0066AA;
STICKLINE(C<O,H,L,0,1),COLOR77AA00;
STICKLINE(C<O,C,O,3,0),COLOR113300;
STICKLINE(C<O,C,O,2.5,0),COLOR224400;
STICKLINE(C<O,C,O,2,0),COLOR335500;
STICKLINE(C<O,C,O,1.5,0),COLOR446600;
STICKLINE(C<O,C,O,1,0),COLOR557700;
STICKLINE(C<O,C,O,0.5,0),COLOR668800;
STICKLINE(C>0,二分位,二分位,1,0),COLOR00FF00;