易经正六爻(源码)

[复制链接]
查看141 | 回复0 | 2022-7-13 07:31:55 | 显示全部楼层 |阅读模式
一个特殊的公式  和大家一起分享 一起研究
少阳:=CLOSE>REF(CLOSE,1) AND CLOSE>OPEN OR CLOSE=REF(CLOSE,1) AND CLOSE>OPEN OR CLOSE>REF(CLOSE,1) AND CLOSE=OPEN AND VOL>REF(VOL,1);
少阴:=CLOSE<REF(CLOSE,1) AND CLOSE<OPEN OR CLOSE=REF(CLOSE,1) AND CLOSE<OPEN OR CLOSE<REF(CLOSE,1) AND CLOSE=OPEN AND VOL<REF(VOL,1);
老阳:=CLOSE>REF(CLOSE,1) AND CLOSE=OPEN AND VOL<REF(VOL,1) OR CLOSE<REF(CLOSE,1) AND CLOSE>OPEN OR CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND LOW>REF(HIGH,1) OR CLOSE<REF(CLOSE,1) AND CLOSE>OPEN AND HIGH<REF(LOW,1) OR CLOSE=REF(CLOSE,1) AND CLOSE=OPEN AND VOL>REF(VOL,1) OR CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)>REF(OPEN,1) AND LOW>REF(CLOSE,1);
老阴:=CLOSE<REF(CLOSE,1) AND CLOSE=OPEN AND VOL>REF(VOL,1) OR CLOSE>REF(CLOSE,1) AND CLOSE<OPEN OR CLOSE>REF(CLOSE,1) AND CLOSE<OPEN AND LOW>REF(HIGH,1) OR CLOSE<REF(CLOSE,1) AND CLOSE<OPEN AND HIGH<REF(LOW,1) OR CLOSE=REF(CLOSE,1) AND CLOSE=OPEN AND VOL<REF(VOL,1) OR CLOSE<REF(CLOSE,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)<REF(OPEN,1) AND HIGH<REF(CLOSE,1);
少阳爻:STICKLINE(少阳,0,80,6,0),colorFF;
少阴爻:STICKLINE(少阴,0,80,6,0),colorFFFF;
老阳爻:STICKLINE(老阳,0,80,6,0),colorFF00FF;
老阴爻:STICKLINE(老阴,0,80,6,0),colorFF0000;
STICKLINE(REF(少阳,1),100,180,6,0),colorFF;
STICKLINE(REF(少阴,1),100,180,6,0),colorFFFF;
STICKLINE(REF(老阳,1),100,180,6,0),colorFF00FF;
STICKLINE(REF(老阴,1),100,180,6,0),colorFF0000;
STICKLINE(REF(少阳,2),200,280,6,0),colorFF;
STICKLINE(REF(少阴,2),200,280,6,0),colorFFFF;
STICKLINE(REF(老阳,2),200,280,6,0),colorFF00FF;
STICKLINE(REF(老阴,2),200,280,6,0),colorFF0000;
STICKLINE(REF(少阳,3),300,380,6,0),colorFF;
STICKLINE(REF(少阴,3),300,380,6,0),colorFFFF;
STICKLINE(REF(老阳,3),300,380,6,0),colorFF00FF;
STICKLINE(REF(老阴,3),300,380,6,0),colorFF0000;
STICKLINE(REF(少阳,4),400,480,6,0),colorFF;
STICKLINE(REF(少阴,4),400,480,6,0),colorFFFF;
STICKLINE(REF(老阳,4),400,480,6,0),colorFF00FF;
STICKLINE(REF(老阴,4),400,480,6,0),colorFF0000;
STICKLINE(REF(少阳,5),500,580,6,0),colorFF;
STICKLINE(REF(少阴,5),500,580,6,0),colorFFFF;
STICKLINE(REF(老阳,5),500,580,6,0),colorFF00FF;
STICKLINE(REF(老阴,5),500,580,6,0),colorFF0000;
A:=DAY;
DRAWYITEXT(A=1 OR A=3 OR A=5 OR A=7 OR A=9 OR A=11 OR A=13 OR A=15 OR A=17 OR A=19 OR A=21 OR A=23 OR A=25 OR A=27 OR A=29 OR A=31,688,KGUA(1,1),1),colorCCFF;
DRAWYITEXT(A=2 OR A=4 OR A=6 OR A=8 OR A=10 OR A=12 OR A=14 OR A=16 OR A=18 OR A=20 OR A=22 OR A=24 OR A=26 OR A=28 OR A=30,688,KGUA(1,1),1),colorCC88;


爻的意义以及物极必反的普遍规律

20106151053756013.jpg

20106151053756013.jpg

 

201061510532463831.rar

2.28 KB, 下载次数: 8

201061510532463831.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则