一、短线操盘主图源码如下:- j' `- F% D6 K# w; M B ]
{短线操盘}
% f" O8 W8 a4 O! vE5:EMA(C,5),COLORYELLOW;; z' x! W) f5 M- ?3 S$ O
E10:EMA(C,10),COLORYELLOW;5 f. D1 y; _+ p
E13:EMA(C,13),COLORMAGENTA;
6 z: e; l* u0 J! ME20:EMA(C,20),COLORGREEN;
( n* A2 a" M7 H% ME30:EMA(C,30),COLORRED;
- z- _" H# O' k( n- qE60:EMA(C,60),COLORCYAN;
4 H9 d2 Y1 R" b3 D- p* p{以下为逃顶}$ f, j* s% m- @- E0 p' J
LC:=REF(CLOSE,1);; V _6 Z( g9 {& I2 j
RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);
: }! y+ W( |( h% k逃:=CROSS(88,RSI);
* W# e. U( W a! s2 [DRAWTEXT(CROSS(88,RSI),H*1.008,'逃'),COLORYELLOW;
( v7 M1 K; E( |. s# i$ {8 w% d; H{以下为K线上色}
7 t& M# ?+ x7 t5 `" eSTICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED; $ D6 H: {, ?6 d" R$ h
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055;. y1 x. u) Z' n3 d9 F
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077; & u+ X; K7 C, Y" g+ e) Y
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;
" {; e) X& y& j5 m0 PSTICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;/ g0 @0 Y2 P4 H
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
' d! q$ _! n+ qSTICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
1 W E2 N, _+ W" w& ?STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;6 |4 Y- u. z; [! y8 M* K( K" T7 O
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;
! A4 s; G/ d; A3 F+ V$ t! M0 CSTICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
; C6 Y, A$ {% p. \# @, mSTICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;! x3 W$ f& r P9 Q
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;& G s# R% m' [8 {
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
6 c$ r/ i6 R* ^STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
. _; p* N7 j% G9 }STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;# u/ }0 L9 s; A
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;; F( m1 c/ u1 C# V! J- n' U8 r
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;
3 f; k- H6 i! H) ^( y3 C2 qSTICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;$ E. t+ C( \9 a9 w6 i
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;2 `' S, m# P( R0 m: K% q( O }
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;) i' N" n. Q% z) s% ^0 p
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;
, c4 X% I: y) X{以下为将来函数}
4 m' w* F4 Z j* i" Y. sGET:=ZIG(3,3);
5 p, ]1 O7 p) k" n/ j9 S/ ]1 p0 T底部:=GET>REF(GET,1) AND REF(GET,2)>REF(GET,1);2 @# R8 D5 U: B9 w8 R+ X: E. l- L; W- E
XG:=COUNT(底部,3);- X- O9 }) N6 p( q m
短买:=(XG=1 AND REF(XG,1)=0);" q2 d+ ^' \5 H. C/ F5 z
DRAWICON(短买,LOW*0.98,17);& F; ]" z' x! M) n3 J c0 y! m
" a9 ^3 f% V1 N
二、阐明,主图团结K线及短、中、长期均线,举行短中期生意业务股票操纵:
1 ?0 M9 V8 a' p* F/ S1 q7 l7 _1.均线粘适时团结K线位置,看真趋势,作出持股照旧卖股的判断;5 V: D+ l2 s5 A& T2 v. A+ K
2.主图中用到了将来函数,如果当日收盘前信号还保持稳固,同时看均线体系向上向好,可以少量买股,第二天最多不凌驾三天逢高出掉(如你原来有股底1000股,而在果果出现信号稳固的当天尾盘买入300股,那么请在第二天大概第三天逢高卖出买入的300股,而不是志出你原有的1000股),如许,也有肯定的收入。0 C( D' |4 c! N/ } Z e
3.短线操盘,慎之又慎。据此主图举行短线生意业务股票,效果自负。 |