查看: 572|回复: 8
打印 上一主题 下一主题

135战法

[复制链接]

五级海风会员

跳转到指定楼层
楼主
发表于 2020-3-14 19:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册海风会员,享受更多便捷服务!

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
本帖最后由 杨天 于 2020-3-14 19:19 编辑

1、主图
A13:MA(C,13);
A34:MA(C,34);
A55:MA(C,55);
MA(C,120),COLORFF9900;

STICKLINE(A13>A34 ,H,L,2,1),COLORYELLOW;
STICKLINE(A13>A34 ,O,C,4,1),COLORYELLOW;

STICKLINE(A13>A34 AND A34>A55,H,L,2,1),COLORRED;
STICKLINE(A13>A34 AND A34>A55,O,C,4,1),COLORRED;

STICKLINE(A13<A34 ,H,L,2,0),COLORWHITE;
STICKLINE(A13<A34 ,O,C,4,0),COLORWHITE;

STICKLINE(A13<A34 AND A34<A55,H,L,2,0),COLOR00D900;
STICKLINE(A13<A34 AND A34<A55,O,C,4,0),COLOR00D900;

2、副图
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),4,1),COLORRED;{红1}
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),4,0),COLOR00D900;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,2),COLOR00FF00;



STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR00FFFF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR00C8FF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10ECFF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10F0FF;

STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORFF50FF;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORFF50FF;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORFF50FF;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORFF50FF;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLORFF50FF;


MA(C,3);
MA(C,5);
!
回复

使用道具 举报

五级海风会员

2
 楼主| 发表于 2020-3-22 11:20 | 只看该作者
A13:MA(C,13);
A34:MA(C,34);
A55:MA(C,55);
A120:MA(C,120),COLORFF9900;
STICKLINE(A13>A34 ,H,L,2,0),COLORYELLOW;
STICKLINE(A13>A34 ,O,C,4,0),COLORYELLOW;
STICKLINE(A13>A34 AND A34>A55,H,L,2,0),COLORFF80FF;
STICKLINE(A13>A34 AND A34>A55,O,C,4,0),COLORFF80FF;
STICKLINE(A13<A34 ,H,L,2,0),COLORWHITE;
STICKLINE(A13<A34 ,O,C,4,0),COLORWHITE;
STICKLINE(A13<A34 AND A34<A55,H,L,2,0),COLORFFFF80;
STICKLINE(A13<A34 AND A34<A55 ,O,C,4,0),COLORFFFF80;
STICKLINE(A13>A34 AND A34>A55 AND A55>A120,H,L,2,0),COLORRED;
STICKLINE(A13>A34 AND A34>A55 AND A55>A120,O,C,4,0),COLORRED;
STICKLINE(A13<A34 AND A34<A55 AND A55<A120,H,L,2,0),COLOR00D900;
STICKLINE(A13<A34 AND A34<A55 AND A55<A120,O,C,4,0),COLOR00D900;
回复 支持 反对

使用道具 举报

五级海风会员

3
 楼主| 发表于 2020-3-22 15:04 | 只看该作者
本帖最后由 杨天 于 2020-3-22 15:07 编辑

60分钟K线:

A13:MA(C,13);
A52:MA(C,52),COLORFF9900;
STICKLINE(A13>A52,H,L,2,0),COLORRED;
STICKLINE( A13>A52,O,C,4,0),COLORRED;
STICKLINE( A13<A52,H,L,2,0),COLOR00D900;
STICKLINE( A13<A52,O,C,4,0),COLOR00D900;
回复 支持 反对

使用道具 举报

六级海风会员

4
发表于 2020-3-22 17:30 | 只看该作者
如何用法?
回复 支持 反对

使用道具 举报

五级海风会员

5
 楼主| 发表于 2020-3-24 16:12 | 只看该作者
macd.
DIFF :=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA  := EMA(DIFF,9);

A14:MA(C,13);
A56:MA(C,55);
STICKLINE(DIFF>0,H,L,2,0),COLORRED;
STICKLINE( DIFF>0,O,C,4,0),COLORRED;
STICKLINE( DIFF<0,H,L,2,0),COLOR00D900;
STICKLINE( DIFF<0,O,C,4,0),COLOR00D900;
回复 支持 反对

使用道具 举报

八级海风会员

6
发表于 2020-3-24 16:43 | 只看该作者
公式不错,问题是如何使用,请指教,谢谢!
回复 支持 反对

使用道具 举报

五级海风会员

7
 楼主| 发表于 2020-3-24 19:54 | 只看该作者
本帖最后由 杨天 于 2020-3-24 20:06 编辑

A13:MA(C,13);
A55:MA(C,55),COLORFF9900;
STICKLINE(A13>A55,H,L,2,1),COLORRED;
STICKLINE( A13>A55,O,C,4,1),COLORRED;
STICKLINE(A13>A55 AND C<O,H,L,2,0),COLORFF00FF;
STICKLINE( A13>A55 AND C<O,O,C,4,0),COLORFF00FF;

STICKLINE( A13<A55,H,L,2,1),COLOR00D900;
STICKLINE( A13<A55,O,C,4,1),COLOR00D900;
STICKLINE( A13<A55 AND C>O,H,L,2,0),COLORFFFF00;
STICKLINE( A13<A55 AND C>O,O,C,4,0),COLORFFFF00;
回复 支持 反对

使用道具 举报

五级海风会员

8
发表于 2020-3-25 03:34 | 只看该作者
楼主你太有才了!
股市博弈需要:猛禽般的敏锐   野兽般的残忍
回复 支持 反对

使用道具 举报

三级海风会员

9
发表于 2020-3-25 10:32 | 只看该作者
这是什么东东
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

QQ|小黑屋|手机版|海风股票论坛 ( 闽ICP备05030991号-1 )|网站地图

GMT+8, 2024-11-24 08:12

 
快速回复 返回顶部 返回列表