N:=10;M:=;TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));UP:=(H+L)/2+MA(TR1,N)*M;DN:=(H+L)/2-MA(TR1,N)*M;L1:=REF(UP,BARSLAST(UP<=REF(UP,1)));L2:=LLV(UP,N*);LL:=IF(L2<>REF(L2,1)ANDL1<REF(L1,1),L1,IF(L1=L2,L1,L2));S1:=BARSLAST(CROSS(,UP=LL))+1;S2:=CROSS(COUNT((CROSS(C,LL)ORCROSS(C,REF(LL,2)))ANDUP>LL,S1),);A6:=BARSLAST(S2);B6:=BARSLAST(CROSS(HHV(DN,A6+1),C));BY:=CROSS(B6,A6);SL:=CROSS(A6,B6);DRAWKLINE1(HIGH,OPEN,LOW,CLOSE);SUPERTREN:IF(B6>A6,HHV(DN,BARSLAST(BY)+1),LLV(UP,BARSLAST(SL)+1)),REEN,HICK2;IF(B6>A6,SUPERTREN,NULL),COLOR0000C8,HICK2;DRAWICON(CROSS(B6,A6),SUPERTREN*,1);DRAWICON(CROSS(A6,B6),SUPERTREN*,2);买进:CROSS(B6,A6)*100,NODRAW,COLORRED;卖出:CROSS(A6,B6)*100,NODRAW;
文华财经指标公式期货软件指标公式赢顺云指标期货多空进出场指标 来自淘豆网m.daumloan.com转载请标明出处.