|
|
楼主 |
发表于 2015-12-28 09:41
|
显示全部楼层
本帖最后由 狙击时空 于 2015-12-28 09:45 编辑
目前,能在行情软件起卦的只用飞狐,金魔方。下面面是这两款软件通用的起卦代码,供感兴趣的人士参考:
gdm:=KGUA(1,1),linethick0;
drawtext(gdm=11,H+H*0.25,'乾'),colorred;drawtext(gdm=12,H+H*0.25,'履'),colorred;
drawtext(gdm=13,H+H*0.25,'同\n人'),colorred;
drawtext(gdm=14,H+H*0.25,'无\n妄'),colorred;
drawtext(gdm=15,H+H*0.25,'姤'),colorgreen;
drawtext(gdm=16,H+H*0.25,'讼'),colorgreen;
drawtext(gdm=17,H+H*0.25,'否'),colorgreen;
drawtext(gdm=18,H+H*0.25,'遁'),colorgreen;
drawtext(gdm=21,H+H*0.25,'夬'),colorred;
drawtext(gdm=22,H+H*0.25,'泽'),colorred;
drawtext(gdm=23,H+H*0.25,'革'),colorred;
drawtext(gdm=24,H+H*0.25,'随'),colorred;
drawtext(gdm=25,H+H*0.25,'大\n过'),colorgreen;
drawtext(gdm=26,H+H*0.25,'困'),colorgreen;
drawtext(gdm=27,H+H*0.25,'咸'),colorgreen;
drawtext(gdm=28,H+H*0.25,'萃'),colorgreen;
drawtext(gdm=31,H+H*0.25,'大\n有'),colorred;
drawtext(gdm=32,H+H*0.25,'睽'),colorred;
drawtext(gdm=33,H+H*0.25,'火'),colorred;
drawtext(gdm=34,H+H*0.25,'噬\n嗑'),colorred;
drawtext(gdm=35,H+H*0.25,'鼎'),colorgreen;
drawtext(gdm=36,H+H*0.25,'未\n济'),colorgreen;
drawtext(gdm=37,H+H*0.25,'旅'),colorgreen;
drawtext(gdm=38,H+H*0.25,'晋'),colorgreen;
drawtext(gdm=41,H+H*0.25,'大\n壮'),colorred;
drawtext(gdm=42,H+H*0.25,'归\n妹'),colorred;
drawtext(gdm=43,H+H*0.25,'丰'),colorred;
drawtext(gdm=44,H+H*0.25,'雷'),colorred;
drawtext(gdm=45,H+H*0.25,'恒'),colorgreen;
drawtext(gdm=46,H+H*0.25,'解'),colorgreen;
drawtext(gdm=47,H+H*0.25,'小\n过'),colorgreen;
drawtext(gdm=48,H+H*0.25,'豫'),colorygreen;
drawtext(gdm=51,H+H*0.25,'小\n畜'),colorred;
drawtext(gdm=52,H+H*0.25,'中\n孚'),colorred;
drawtext(gdm=53,H+H*0.25,'家\n人'),colorred;
drawtext(gdm=54,H+H*0.25,'益'),colorred;
drawtext(gdm=55,H+H*0.25,'风'),colorgreen;
drawtext(gdm=56,H+H*0.25,'涣'),colorgreen;
drawtext(gdm=57,H+H*0.25,'渐'),colorgreen;
drawtext(gdm=58,H+H*0.25,'观'),colorgreen;
drawtext(gdm=61,H+H*0.25,'需'),colorred;
drawtext(gdm=62,H+H*0.25,'节'),colorred;
drawtext(gdm=63,H+H*0.25,'既\n济'),colorred;
drawtext(gdm=64,H+H*0.25,'屯'),colorred;
drawtext(gdm=65,H+H*0.25,'井'),colorgreen;
drawtext(gdm=66,H+H*0.25,'水'),colorgreen;
drawtext(gdm=67,H+H*0.25,'蹇'),colorgreen;
drawtext(gdm=68,H+H*0.25,'比'),colorgreen;
drawtext(gdm=71,H+H*0.25,'大\n畜'),colorred;
drawtext(gdm=72,H+H*0.25,'损'),colorred;
drawtext(gdm=73,H+H*0.25,'贲'),colorred;
drawtext(gdm=74,H+H*0.25,'颐'),colorred;
drawtext(gdm=75,H+H*0.25,'蛊'),colorgreen;
drawtext(gdm=76,H+H*0.25,'蒙'),colorgreen;
drawtext(gdm=77,H+H*0.25,'山'),colorgreen;
drawtext(gdm=78,H+H*0.25,'剥'),colorgreen;
drawtext(gdm=81,H+H*0.25,'泰'),colorred;
drawtext(gdm=82,H+H*0.25,'临'),colorred;
drawtext(gdm=83,H+H*0.25,'明\n夷'),colorred;
drawtext(gdm=84,H+H*0.25,'复'),colorred;
drawtext(gdm=85,H+H*0.25,'升'),colorgreen;
drawtext(gdm=86,H+H*0.25,'师'),colorgreen;
drawtext(gdm=87,H+H*0.25,'谦'),colorgreen;
drawtext(gdm=88,H+H*0.25,'地'),colorgreen;
kline(o,h,l,c,0);
|
|
|