󰅡收起

西屋财富

致力于股票投资分析

26
四月

找庄

作者: 西屋财富
分类: 技术文章
发布时间: 2016-04-26 15:56

是否上榜 : SIGNALS_USER(300, 0), NODRAW; {上榜金额>1,则表示上榜了,这个是上榜总金额} 

净买入: SIGNALS_USER(299, 0), NODRAW; 

HIGH1 := IF(MOD(DAY,2) = 1,  100, 95); 

STICKLINE(是否上榜>=1 AND 净买入>=0 , 1, HIGH1, 0.2, 0), COLORRED; 

STICKLINE(是否上榜>=1 AND 净买入<0 , 1, HIGH1, 0.2, 0), COLORGREEN; 

NAME_301 := '溧阳路: ';

BUY_301    := SIGNALS_USER(301, 0);   

XSW_301 := ROUND( (ABS(FRACPART(BUY_301))) * 100.0 ); 

B1_301:= IF((XSW_301>=8)  && (XSW_301<18),  '买1,', ''); 

B2_301:= IF((XSW_301>=18) && (XSW_301<28),  '买2,', '');

B3_301:= IF((XSW_301>=28)  && (XSW_301<38), '买3,', ''); 

B4_301:= IF((XSW_301>=38) && (XSW_301<48),  '买4,', '');

B5_301:= IF((XSW_301>=48)  && (XSW_301<58), '买5,', ''); 

XSW2_301 := IF(XSW_301>10.0,  ROUND(FRACPART(XSW_301/10) * 10), XSW_301);

S1_301:= IF((XSW2_301>=0.8 ) && (XSW2_301<1.7 ) || (XSW2_301=1.0), '卖1,', '');

S2_301:= IF((XSW2_301>=2.1 ) && (XSW2_301<2.7 ) || (XSW2_301=2.0), '卖2,', '');

S3_301:= IF((XSW2_301>=3.1 ) && (XSW2_301<3.7 ) || (XSW2_301=3.0), '卖3,', '');

S4_301:= IF((XSW2_301>=4.1 ) && (XSW2_301<4.7 ) || (XSW2_301=4.0), '卖4,', '');

S5_301:= IF((XSW2_301>5.1 )  && (XSW2_301<5.7 ) || (XSW2_301=5.0), '卖5,', '');

TEXT2_301:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_301, B1_301), B2_301), B3_301), B4_301), B5_301);

TEXT3_301:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_301, S1_301), S2_301), S3_301), S4_301), S5_301);

OUTTEXT_301:= VARCAT(VARCAT(TEXT3_301, ' '), VAR2STR(BUY_301 , 0)), NODRAW;

WZ1_301    := IF((XSW_301>=8)  && (XSW_301<56), 104-XSW_301, 1);

WZ6_301    := IF( (XSW2_301>=1.0) && (XSW2_301 <= 6), 50-XSW2_301*8, 0);  

TWZ_301 := IF(XSW_301>=8.0,  1*WZ1_301, 1*WZ6_301 );

DRAWTEXT(  (ABS(BUY_301) >= 10) AND   (TWZ_301>=1), TWZ_301/100*HIGH1, OUTTEXT_301),  COLORFF00CC;

NAME_302 := '江苏路: ';

BUY_302    := SIGNALS_USER(302, 0);   

XSW_302 := ROUND( (ABS(FRACPART(BUY_302))) * 100.0 ); 

B1_302:= IF((XSW_302>=8)  && (XSW_302<18),  '买1,', ''); 

B2_302:= IF((XSW_302>=18) && (XSW_302<28),  '买2,', '');

B3_302:= IF((XSW_302>=28)  && (XSW_302<38), '买3,', ''); 

B4_302:= IF((XSW_302>=38) && (XSW_302<48),  '买4,', '');

B5_302:= IF((XSW_302>=48)  && (XSW_302<58), '买5,', ''); 

XSW2_302 := IF(XSW_302>10.0,  ROUND(FRACPART(XSW_302/10) * 10), XSW_302);

S1_302:= IF((XSW2_302>=0.8 ) && (XSW2_302<1.7 ) || (XSW2_302=1.0), '卖1,', '');

S2_302:= IF((XSW2_302>=2.1 ) && (XSW2_302<2.7 ) || (XSW2_302=2.0), '卖2,', '');

S3_302:= IF((XSW2_302>=3.1 ) && (XSW2_302<3.7 ) || (XSW2_302=3.0), '卖3,', '');

S4_302:= IF((XSW2_302>=4.1 ) && (XSW2_302<4.7 ) || (XSW2_302=4.0), '卖4,', '');

S5_302:= IF((XSW2_302>5.1 )  && (XSW2_302<5.7 ) || (XSW2_302=5.0), '卖5,', '');

TEXT2_302:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_302, B1_302), B2_302), B3_302), B4_302), B5_302);

TEXT3_302:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_302, S1_302), S2_302), S3_302), S4_302), S5_302);

OUTTEXT_302:= VARCAT(VARCAT(TEXT3_302, ' '), VAR2STR(BUY_302 , 0)), NODRAW;

WZ1_302    := IF((XSW_302>=8)  && (XSW_302<56), 104-XSW_302, 1);

WZ6_302    := IF( (XSW2_302>=1.0) && (XSW2_302 <= 6), 50-XSW2_302*8, 0);  

TWZ_302 := IF(XSW_302>=8.0,  1*WZ1_302, 1*WZ6_302 );

DRAWTEXT(  (ABS(BUY_302) >= 10) AND   (TWZ_302>=1), TWZ_302/100*HIGH1, OUTTEXT_302),  COLORFF00CC;

本文出自 西屋财富 ,转载时请注明出处及相应链接。

本文永久链接: http://www.15fund.com/2016/04/26/490.html

发表评论

电子邮件地址不会被公开。

*

普人特福的博客cnzz&51la for wordpress,cnzz for wordpress,51la for wordpress