Ms5:=SMA(MA(C,2),5,3);4 R0 L; F* P- K8 g2 s, X6 S
Ms13:=SMA(C,13,2);/ ?2 P# `9 ?& d( H; _$ a) M) B& X
Ms21:=SMA(C,21,1);5 t) o8 H6 w" K/ A
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;& l' d& ?+ l3 l7 j7 t: U
a:=SMA(RSV,3,1);3 h5 G+ U$ B8 G8 u
b:=SMA(a,3,1);- y2 C& v- K7 C) O% E" g
DDX:=bigorder(1,2)-bigorder(2,2);
' K9 P1 x, P+ d+ vDIFF:=EMA(DDX,5) - EMA(DDX,13);4 u" N y; d$ E5 M! f8 D+ ?' h
DIFF2:=EMA(DDX,7) - EMA(DDX,21);8 q5 [( q; ^ P" A: Q
IF(Ms5>REF(Ms5,1)) then
% e6 N: i8 L4 y \& b% d- _ F m1:=10;9 I( r5 Z, T/ x; m
ELSE IF(Ms5REF(Ms13,1)) then" ^. H8 Z6 p3 R7 o, t
m3:=5;$ w7 c' {4 B6 n' a' q! B9 J
ELSE IF(Ms13REF(Ms21,1)) then
, z3 ]3 h. Q: c; M m4:=10;
6 S Y4 _' F- n1 q a# ? b: pELSE IF(Ms2190) then
: `' z; V# t* m6 n' e m5:=-10;
9 a: Y$ l; s7 a$ ~# Y4 V8 l/ bELSE IF(b10) then
1 r! d6 D6 _+ {! ^& C# ] m5:=0;
3 p& L' u( G$ c1 ~, l) ~ELSE IF(b0 AND diff2>0) then
" ~4 E) U8 G* ] m6:=10;$ A. J3 _& Q- G+ N* o1 U' G
ELSE IF(diff>0 OR diff2>0) then4 T4 O/ W" g- o) k) G% w3 M' X
m6:=0;
$ p2 l2 s" A- n5 LELSE IF(diff |