(1)止盈线为灰色,跌破就落袋为安;工作线孙一个主升行情线,股价再红色工作线之上可以买股,低于红色线休眠;生命线中长线指标,一般用的少。
) P S9 [1 h: z, [5 x! e# X$ J% H# V6 T# P; O5 m( O' L
(2)加入了买,和 顶信号。。
1 j7 D# j: }' E' U* r7 l1 @! U1 M1 M(3)突破红色直线是出击信号,跌破绿色横线为休眠。
0 L c9 r" u( G/ }* [* ^3 D4 U/ c/ @1 n8 G6 v% w! X. K- D% \
* C& G8 D5 m: H4 y& J
) w9 _) [ n( C- |' s! ^1 F. F源码:& L+ J3 ]; n% F7 |0 r8 k% |! S3 L5 F
h5 G! {$ q1 F) e6 d参数甲:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
& {) I9 D' l0 [1 H: P+ ]0 {! q( T& c- W
参数乙:=REF(EMA(参数甲,3),1);, }* c6 K- e! v7 a5 A
- ^ k( d2 s5 L+ M2 t+ \7 D
思路:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
7 u& R, A7 I8 X- D; i& f
& r4 S) j: A# n7 j% |K:=SMA(思路,3,1);$ t) z! @8 X7 j3 @6 T- m
, h; ~ @1 G, p1 }4 r
D:=SMA(K,3,1);
' R8 \/ q( r3 c% K1 B) f- _2 O% v5 ^; t V
J:=3*K-2*D;
! t x4 k: O* @- t5 C8 O4 f6 i5 X# N* B' f! }
取前值:=REF(CLOSE,1);0 |0 |( w) _1 o6 C" b. y) a2 B
9 ^* ]* ? i4 x' u
参数:=((SMA(MAX((CLOSE - 取前值),0),3,1) / SMA(ABS((CLOSE - 取前值)),3,1)) * 100);
& Z. q) f1 l5 v0 i; _* ?. v) g+ w5 Q0 \3 S0 A% n# \; b2 _
FF:=EMA(CLOSE,3);2 K. z1 E7 I5 g4 N
# B2 I) x# F- CAA1:=AMOUNT/VOL;7 N/ [: o! u" K& u5 k
D' m- L1 ?- b) s% `; pBB1:=L( ]" e& W5 e; w; C9 i
. A. I. R" E: L# {0 \. Z5 uCC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
% Q& C _' T4 \- s( ^
1 T9 s! a- Z5 M0 r' TDD1:=L4 C i% _# u4 `) R# r) S9 V
$ p- I+ ]1 k: ~. R9 jEE1:=VOL
, p$ B, d% a$ \6 J" B3 v# ^; H/ d `1 H7 ^/ o" K8 }
FF1:=BB1 AND CC1 AND DD1 AND EE1;
* I, G8 p2 |1 s4 y
8 D" K1 z( D, h4 S0 e+ r$ WF:=100*(C-REF(C,1))/REF(C,1);
* \, r6 s% ?% k/ T
2 s. f# b2 @4 |取值1:=IF(C[( P1 N! M$ [* ]/ w; W0 {) G]
) G( T- a' M$ I
取值2:=IF(C[7 k: j, A4 l- k, u$ q# V]
& F/ p( b2 T F; ~2 W2 B8 C0 ~TT3:=取值1=0 AND REF(取值1,1)=1 AND 取值2=0 AND REF(取值2,1)=1 ;8 b4 P; Q3 B+ E! x
9 I( Z/ C3 s) r% V4 E& p
TT4:=取值1=1 AND REF(取值1,1)=0 AND 取值2=1 AND REF(取值2,1)=0 ;
$ F7 p5 H2 T' t9 |; l
2 P6 ^* ?+ G3 L" h9 uZ1:=MA(C,13);3 H5 F) R B6 p' y4 A
o% k8 A2 `, J3 _
ZX:=REF(Z1,13/2+1);
+ U! v+ [2 {7 N9 g$ M6 h0 y% t! F# U
$ N. f6 Z. m3 hDRAWICON(CROSS(ZX,C),H*1.01,2);
- G1 h0 A. g" y1 F! Y; L
: [. K+ M% X# h- \5 X" Z8 i0 ?DRAWTEXT(CROSS(CLOSE,参数乙)AND J<55,LOW,'买'),COLORRED;
2 q$ \; D' x( Q7 z
U9 O+ Z4 W/ sDRAWTEXT(CROSS(88,参数),HIGH * 1.02,'短顶'),COLOR00FFFF;
; f( | ]/ c2 C% c' ]: w
# |7 x/ x( z+ ISTICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;
4 m& r9 Y* @- F% ~3 H+ v2 b, \. j, S- Z0 m. {, s
A1:=EMA(C,14)COLORWHITE,LINETHICK1;6 Y$ i4 |9 v* {7 Q( f4 q2 j
9 z, K) w3 [5 F' b# O
终极:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
, x1 O# o* n" u; Q5 \
+ [& R. [9 x4 T/ s* }出击:IF(终极>=0,REF(EMA(C,14),BARSLAST(CROSS(终极,0))+1),DRAWNULL)COLORRED,LINETHICK1;- @" E+ d+ v$ D8 u' T+ q$ v
. Z$ g0 R% S0 r2 L7 ]3 n$ d2 P休假:IF(终极<0,REF(EMA(C,14),BARSLAST(CROSS(0,终极))+1),DRAWNULL)COLORGREEN,LINETHICK1;
& f+ a& t o1 A* i4 k( f8 G
: Z: @- {* ~' y: V' lSTICKLINE(CROSS(终极,0),C,O,2,0)COLORYELLOW;
7 r6 L' H: D; m, r' V$ F
" b0 M! @) W: {. I' ~% O4 FSTICKLINE(CROSS(0,终极),C,O,2,0)COLORGREEN;
7 J* D7 |3 a& e0 V
' v' H9 y: }, x2 n0 m9 r4 gSTICKLINE(CROSS(终极,0)OR CROSS(0,终极),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0)COLORWHITE;
- N' F: z% c3 f( F
! `, k8 c* r+ S5 aSTICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0)COLORWHITE;
# ~- T9 M; z1 l( A7 `
+ Y5 U& g% _# I$ U E* S工作线:=EMA(C,14);
$ X0 U* \. _2 n: T1 }$ J& Y4 m: F: @9 c& n5 q; c8 C
止盈线:EMA(C,7),LINETHICK1,COLORGRAY;
: _* g9 s/ N( ^- @7 V: r* N @- {* n* D& w1 b* L9 z# V) c
工作区:IF(C>=工作线 AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED,LINETHICK2;8 A; m3 t0 L, c4 W) ^6 v) f- T$ ?
, C1 B3 c5 n; j
生命线:EMA(C,25),COLORYELLOW;
% n9 b5 g. d, v9 \: [4 O/ |! s0 X9 x+ V6 v8 G* w }
{DRAWICON(CROSS(工作线,生命线),工作线*0.95,5);原句}9 S* F9 w/ h* S& D, x! \1 C0 |
5 |; f9 c: K' j4 v& `* gIF(CROSS(工作线,生命线),工作线*0.975,DRAWNULL),CIRCLEDOT,COLORRED;5 }- s' P, S9 C. Q5 S( K& n( P# Q
0 @$ c3 m( z5 Q6 O2 X- ~- b2 o3 g+ P
DRAWICON(CROSS(C,生命线) AND C>EMA(C,14),L*0.99,1);7 a4 x: R+ F8 ^' v2 {; O
1 M" T" g! U2 ^2 Q$ ]. {
DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2);$ d9 s8 k: Z! q$ u; B3 u+ K9 a) f% w( K
" I* z7 O4 J5 D
0 r r7 m' w! ?, U! c
q# M( b0 ~3 y$ [+ y9 w
, e' f9 H% ~8 d7 q
0 N r5 k/ u# p# K g7 O4 i9 E( P/ Q" o* Y& f" A, s( H
|