简睿余玉_分析图右边留白 (原码)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:9.00 KB
更新时间:2010-07-17 18:24:00
公式简介:
王船山在《诗绎》中记到:“无字处皆其意也。”
“留白”雅称“余玉”,直接地说就是在作品中留下相应的空白。 “留白”可以营造出很强的空间感,还可以赋予创意以广袤深远的意境,更可以给人留下更多的想象余地。
借鉴下
通过手动设置画趋势线,以观股价未来变化空间。
{简睿余玉}
STICKLINE(C,H,L,8,1),COLOR888888;
TL1:=CONST(IF(ISLASTBAR,L,1));
TL2:=CONST(DRAWLINE(CURRBARSCOUNT=2,L,REF(CURRBARSCOUNT,1)=2,REF(L,1),1));
TL3:=CONST(DRAWLINE(CURRBARSCOUNT=3,L,REF(CURRBARSCOUNT,1)=3,REF(L,1),1));
TL4:=CONST(DRAWLINE(CURRBARSCOUNT=4,L,REF(CURRBARSCOUNT,1)=4,REF(L,1),1));
TL5:=CONST(DRAWLINE(CURRBARSCOUNT=5,L,REF(CURRBARSCOUNT,1)=5,REF(L,1),1));
TL6:=CONST(DRAWLINE(CURRBARSCOUNT=6,L,REF(CURRBARSCOUNT,1)=6,REF(L,1),1));
TL7:=CONST(DRAWLINE(CURRBARSCOUNT=7,L,REF(CURRBARSCOUNT,1)=7,REF(L,1),1));
TL8:=CONST(DRAWLINE(CURRBARSCOUNT=8,L,REF(CURRBARSCOUNT,1)=8,REF(L,1),1));
TL9:=CONST(DRAWLINE(CURRBARSCOUNT=9,L,REF(CURRBARSCOUNT,1)=9,REF(L,1),1));
TL10:=CONST(DRAWLINE(CURRBARSCOUNT=10,L,REF(CURRBARSCOUNT,1)=10,REF(L,1),1));
TL11:=CONST(DRAWLINE(CURRBARSCOUNT=11,L,REF(CURRBARSCOUNT,1)=11,REF(L,1),1));
TL12:=CONST(DRAWLINE(CURRBARSCOUNT=12,L,REF(CURRBARSCOUNT,1)=12,REF(L,1),1));
TL13:=CONST(DRAWLINE(CURRBARSCOUNT=13,L,REF(CURRBARSCOUNT,1)=13,REF(L,1),1));
TL14:=CONST(DRAWLINE(CURRBARSCOUNT=14,L,REF(CURRBARSCOUNT,1)=14,REF(L,1),1));
TL15:=CONST(DRAWLINE(CURRBARSCOUNT=15,L,REF(CURRBARSCOUNT,1)=15,REF(L,1),1));
TL16:=CONST(DRAWLINE(CURRBARSCOUNT=16,L,REF(CURRBARSCOUNT,1)=16,REF(L,1),1));
TL17:=CONST(DRAWLINE(CURRBARSCOUNT=17,L,REF(CURRBARSCOUNT,1)=17,REF(L,1),1));
TL18:=CONST(DRAWLINE(CURRBARSCOUNT=18,L,REF(CURRBARSCOUNT,1)=18,REF(L,1),1));
TL19:=CONST(DRAWLINE(CURRBARSCOUNT=19,L,REF(CURRBARSCOUNT,1)=19,REF(L,1),1));
TL20:=CONST(DRAWLINE(CURRBARSCOUNT=20,L,REF(CURRBARSCOUNT,1)=20,REF(L,1),1));
TL21:=CONST(DRAWLINE(CURRBARSCOUNT=21,L,REF(CURRBARSCOUNT,1)=21,REF(L,1),1));
TL22:=CONST(DRAWLINE(CURRBARSCOUNT=22,L,REF(CURRBARSCOUNT,1)=22,REF(L,1),1));
TL23:=CONST(DRAWLINE(CURRBARSCOUNT=23,L,REF(CURRBARSCOUNT,1)=23,REF(L,1),1));
TL24:=CONST(DRAWLINE(CURRBARSCOUNT=24,L,REF(CURRBARSCOUNT,1)=24,REF(L,1),1));
TL25:=CONST(DRAWLINE(CURRBARSCOUNT=25,L,REF(CURRBARSCOUNT,1)=25,REF(L,1),1));
TL26:=CONST(DRAWLINE(CURRBARSCOUNT=26,L,REF(CURRBARSCOUNT,1)=26,REF(L,1),1));
TL27:=CONST(DRAWLINE(CURRBARSCOUNT=27,L,REF(CURRBARSCOUNT,1)=27,REF(L,1),1));
TL28:=CONST(DRAWLINE(CURRBARSCOUNT=28,L,REF(CURRBARSCOUNT,1)=28,REF(L,1),1));
TL29:=CONST(DRAWLINE(CURRBARSCOUNT=29,L,REF(CURRBARSCOUNT,1)=29,REF(L,1),1));
TL30:=CONST(DRAWLINE(CURRBARSCOUNT=30,L,REF(CURRBARSCOUNT,1)=30,REF(L,1),1));
TL31:=CONST(DRAWLINE(CURRBARSCOUNT=31,L,REF(CURRBARSCOUNT,1)=31,REF(L,1),1));
TL32:=CONST(DRAWLINE(CURRBARSCOUNT=32,L,REF(CURRBARSCOUNT,1)=32,REF(L,1),1));
TL33:=CONST(DRAWLINE(CURRBARSCOUNT=33,L,REF(CURRBARSCOUNT,1)=33,REF(L,1),1));
TL34:=CONST(DRAWLINE(CURRBARSCOUNT=34,L,REF(CURRBARSCOUNT,1)=34,REF(L,1),1));
TL35:=CONST(DRAWLINE(CURRBARSCOUNT=35,L,REF(CURRBARSCOUNT,1)=35,REF(L,1),1));
TL36:=CONST(DRAWLINE(CURRBARSCOUNT=36,L,REF(CURRBARSCOUNT,1)=36,REF(L,1),1));
TL37:=CONST(DRAWLINE(CURRBARSCOUNT=37,L,REF(CURRBARSCOUNT,1)=37,REF(L,1),1));
TL38:=CONST(DRAWLINE(CURRBARSCOUNT=38,L,REF(CURRBARSCOUNT,1)=38,REF(L,1),1));
TL39:=CONST(DRAWLINE(CURRBARSCOUNT=39,L,REF(CURRBARSCOUNT,1)=39,REF(L,1),1));
TL40:=CONST(DRAWLINE(CURRBARSCOUNT=40,L,REF(CURRBARSCOUNT,1)=40,REF(L,1),1));
TH1:=CONST(IF(ISLASTBAR,H,1));
TH2:=CONST(DRAWLINE(CURRBARSCOUNT=2,H,REF(CURRBARSCOUNT,1)=2,REF(H,1),1));
TH3:=CONST(DRAWLINE(CURRBARSCOUNT=3,H,REF(CURRBARSCOUNT,1)=3,REF(H,1),1));
TH4:=CONST(DRAWLINE(CURRBARSCOUNT=4,H,REF(CURRBARSCOUNT,1)=4,REF(H,1),1));
TH5:=CONST(DRAWLINE(CURRBARSCOUNT=5,H,REF(CURRBARSCOUNT,1)=5,REF(H,1),1));
TH6:=CONST(DRAWLINE(CURRBARSCOUNT=6,H,REF(CURRBARSCOUNT,1)=6,REF(H,1),1));
TH7:=CONST(DRAWLINE(CURRBARSCOUNT=7,H,REF(CURRBARSCOUNT,1)=7,REF(H,1),1));
TH8:=CONST(DRAWLINE(CURRBARSCOUNT=8,H,REF(CURRBARSCOUNT,1)=8,REF(H,1),1));
TH9:=CONST(DRAWLINE(CURRBARSCOUNT=9,H,REF(CURRBARSCOUNT,1)=9,REF(H,1),1));
TH10:=CONST(DRAWLINE(CURRBARSCOUNT=10,H,REF(CURRBARSCOUNT,1)=10,REF(H,1),1));
TH11:=CONST(DRAWLINE(CURRBARSCOUNT=11,H,REF(CURRBARSCOUNT,1)=11,REF(H,1),1));
TH12:=CONST(DRAWLINE(CURRBARSCOUNT=12,H,REF(CURRBARSCOUNT,1)=12,REF(H,1),1));
TH13:=CONST(DRAWLINE(CURRBARSCOUNT=13,H,REF(CURRBARSCOUNT,1)=13,REF(H,1),1));
TH14:=CONST(DRAWLINE(CURRBARSCOUNT=14,H,REF(CURRBARSCOUNT,1)=14,REF(H,1),1));
TH15:=CONST(DRAWLINE(CURRBARSCOUNT=15,H,REF(CURRBARSCOUNT,1)=15,REF(H,1),1));
TH16:=CONST(DRAWLINE(CURRBARSCOUNT=16,H,REF(CURRBARSCOUNT,1)=16,REF(H,1),1));
TH17:=CONST(DRAWLINE(CURRBARSCOUNT=17,H,REF(CURRBARSCOUNT,1)=17,REF(H,1),1));
TH18:=CONST(DRAWLINE(CURRBARSCOUNT=18,H,REF(CURRBARSCOUNT,1)=18,REF(H,1),1));
TH19:=CONST(DRAWLINE(CURRBARSCOUNT=19,H,REF(CURRBARSCOUNT,1)=19,REF(H,1),1));
TH20:=CONST(DRAWLINE(CURRBARSCOUNT=20,H,REF(CURRBARSCOUNT,1)=20,REF(H,1),1));
TH21:=CONST(DRAWLINE(CURRBARSCOUNT=21,H,REF(CURRBARSCOUNT,1)=21,REF(H,1),1));
TH22:=CONST(DRAWLINE(CURRBARSCOUNT=22,H,REF(CURRBARSCOUNT,1)=22,REF(H,1),1));
TH23:=CONST(DRAWLINE(CURRBARSCOUNT=23,H,REF(CURRBARSCOUNT,1)=23,REF(H,1),1));
TH24:=CONST(DRAWLINE(CURRBARSCOUNT=24,H,REF(CURRBARSCOUNT,1)=24,REF(H,1),1));
TH25:=CONST(DRAWLINE(CURRBARSCOUNT=25,H,REF(CURRBARSCOUNT,1)=25,REF(H,1),1));
TH26:=CONST(DRAWLINE(CURRBARSCOUNT=26,H,REF(CURRBARSCOUNT,1)=26,REF(H,1),1));
TH27:=CONST(DRAWLINE(CURRBARSCOUNT=27,H,REF(CURRBARSCOUNT,1)=27,REF(H,1),1));
TH28:=CONST(DRAWLINE(CURRBARSCOUNT=28,H,REF(CURRBARSCOUNT,1)=28,REF(H,1),1));
TH29:=CONST(DRAWLINE(CURRBARSCOUNT=29,H,REF(CURRBARSCOUNT,1)=29,REF(H,1),1));
TH30:=CONST(DRAWLINE(CURRBARSCOUNT=30,H,REF(CURRBARSCOUNT,1)=30,REF(H,1),1));
TH31:=CONST(DRAWLINE(CURRBARSCOUNT=31,H,REF(CURRBARSCOUNT,1)=31,REF(H,1),1));
TH32:=CONST(DRAWLINE(CURRBARSCOUNT=32,H,REF(CURRBARSCOUNT,1)=32,REF(H,1),1));
TH33:=CONST(DRAWLINE(CURRBARSCOUNT=33,H,REF(CURRBARSCOUNT,1)=33,REF(H,1),1));
TH34:=CONST(DRAWLINE(CURRBARSCOUNT=34,H,REF(CURRBARSCOUNT,1)=34,REF(H,1),1));
TH35:=CONST(DRAWLINE(CURRBARSCOUNT=35,H,REF(CURRBARSCOUNT,1)=35,REF(H,1),1));
TH36:=CONST(DRAWLINE(CURRBARSCOUNT=36,H,REF(CURRBARSCOUNT,1)=36,REF(H,1),1));
TH37:=CONST(DRAWLINE(CURRBARSCOUNT=37,H,REF(CURRBARSCOUNT,1)=37,REF(H,1),1));
TH38:=CONST(DRAWLINE(CURRBARSCOUNT=38,H,REF(CURRBARSCOUNT,1)=38,REF(H,1),1));
TH39:=CONST(DRAWLINE(CURRBARSCOUNT=39,H,REF(CURRBARSCOUNT,1)=39,REF(H,1),1));
TH40:=CONST(DRAWLINE(CURRBARSCOUNT=40,H,REF(CURRBARSCOUNT,1)=40,REF(H,1),1));
T:=低点; G:=高点; N:=自留地;
LL:=IF(T=0,TL1,IF(T=1,TL2,IF(T=2,TL3,IF(T=3,TL4,IF(T=4,TL5,IF(T=5,TL6,IF(T=6,TL7,
IF(T=7,TL8,IF(T=8,TL9,IF(T=9,TL10,IF(T=10,TL11,IF(T=11,TL12,IF(T=12,TL13,IF(T=13,TL14,
IF(T=14,TL15,IF(T=15,TL16,IF(T=16,TL17,IF(T=17,TL18,IF(T=18,TL19,IF(T=19,TL20,
IF(T=20,TL21,IF(T=21,TL22,IF(T=22,TL23,IF(T=23,TL24,IF(T=24,TL25,IF(T=25,TL26,IF(T=26,TL27,
IF(T=27,TL28,IF(T=28,TL29,IF(T=29,TL30,IF(T=30,TL31,IF(T=31,TL32,IF(T=32,TL33,IF(T=33,TL34,
IF(T=34,TL35,IF(T=35,TL36,IF(T=36,TL37,IF(T=37,TL38,IF(T=38,TL39,IF(T=39,TL40,C))))))))))))))))))))))))))))))))))))))));
HH:=IF(G=0,TH1,IF(G=1,TH2,IF(G=2,TH3,IF(G=3,TH4,IF(G=4,TH5,IF(G=5,TH6,IF(G=6,TH7,
IF(G=7,TH8,IF(G=8,TH9,IF(G=9,TH10,IF(G=10,TH11,IF(G=11,TH12,IF(G=12,TH13,IF(G=13,TH14,
IF(G=14,TH15,IF(G=15,TH16,IF(G=16,TH17,IF(G=17,TH18,IF(G=18,TH19,IF(G=19,TH20,
IF(G=20,TH21,IF(G=21,TH22,IF(G=22,TH23,IF(G=23,TH24,IF(G=24,TH25,IF(G=25,TH26,IF(G=26,TH27,
IF(G=27,TH28,IF(G=28,TH29,IF(G=29,TH30,IF(G=30,TH31,IF(G=31,TH32,IF(G=32,TH33,IF(G=33,TH34,
IF(G=34,TH35,IF(G=35,TH36,IF(G=36,TH37,IF(G=37,TH38,IF(G=38,TH39,IF(G=39,TH40,C))))))))))))))))))))))))))))))))))))))));
TD:=DRAWLINE(CURRBARSCOUNT=(N+T),LL,REF(CURRBARSCOUNT,1)=(N+T),REF(LL,1),1);
GD:=DRAWLINE(CURRBARSCOUNT=(N+G),HH,REF(CURRBARSCOUNT,1)=(N+G),REF(HH,1),1);
天线:IF(IF(G<T,CURRBARSCOUNT<=(N+T),CURRBARSCOUNT<=(N+G)),CONST(GD),DRAWNULL),COLOR8E0000;
地线:IF(IF(G<T,CURRBARSCOUNT<=(N+T),CURRBARSCOUNT<=(N+G)),CONST(TD),DRAWNULL),COLOR00FEFE;
DRAWBAND(IF(G<T,(天线-地线)*0.33+地线,(地线+天线)/2),RGB(IF(G<T,150,20),88,28),
IF(G<T,(地线+天线)/2,(天线-地线)*0.67+地线),RGB(IF(G<T,150,20),88,28));
DRAWTEXT(CURRBARSCOUNT=5&&G<T,(天线-地线)*0.33+地线,'支撑带'),COLOR22FFFF;
DRAWTEXT(CURRBARSCOUNT=5&&T<G,(天线-地线)*0.67+地线,'压力带'),COLORFF8800;
DRAWTEXT(CURRBARSCOUNT=8,地线,'壹瓣杺埖原创'),COLORBLACK;
STICKLINE(CURRBARSCOUNT=N,TL1,TH1,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+1),TL2,TH2,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+2),TL3,TH3,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+3),TL4,TH4,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+4),TL5,TH5,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+5),TL6,TH6,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+6),TL7,TH7,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+7),TL8,TH8,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+8),TL9,TH9,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+9),TL10,TH10,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+10),TL11,TH11,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+11),TL12,TH12,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+12),TL13,TH13,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+13),TL14,TH14,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+14),TL15,TH15,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+15),TL16,TH16,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+16),TL17,TH17,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+17),TL18,TH18,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+18),TL19,TH19,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+19),TL20,TH20,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+20),TL21,TH21,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+21),TL22,TH22,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+22),TL23,TH23,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+23),TL24,TH24,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+24),TL25,TH25,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+25),TL26,TH26,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+26),TL27,TH27,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+27),TL28,TH28,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+28),TL29,TH29,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+29),TL30,TH30,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+30),TL31,TH31,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+31),TL32,TH32,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+32),TL33,TH33,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+33),TL34,TH34,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+34),TL35,TH35,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+35),TL36,TH36,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+36),TL37,TH37,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+37),TL38,TH38,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+38),TL39,TH39,1,0),COLORFFFFFF;
STICKLINE(CURRBARSCOUNT=(N+39),TL40,TH40,1,0),COLORFFFFFF;
GLT:=IF(G=0,TL1,IF(G=1,TL2,IF(G=2,TL3,IF(G=3,TL4,IF(G=4,TL5,IF(G=5,TL6,IF(G=6,TL7,
IF(G=7,TL8,IF(G=8,TL9,IF(G=9,TL10,IF(G=10,TL11,IF(G=11,TL12,IF(G=12,TL13,IF(G=13,TL14,
IF(G=14,TL15,IF(G=15,TL16,IF(G=16,TL17,IF(G=17,TL18,IF(G=18,TL19,IF(G=19,TL20,
IF(G=20,TL21,IF(G=21,TL22,IF(G=22,TL23,IF(G=23,TL24,IF(G=24,TL25,IF(G=25,TL26,IF(G=26,TL27,
IF(G=27,TL28,IF(G=28,TL29,IF(G=29,TL30,IF(G=30,TL31,IF(G=31,TL32,IF(G=32,TL33,IF(G=33,TL34,
IF(G=34,TL35,IF(G=35,TL36,IF(G=36,TL37,IF(G=37,TL38,IF(G=38,TL39,IF(G=39,TL40,C))))))))))))))))))))))))))))))))))))))));
THG:=IF(T=0,TH1,IF(T=1,TH2,IF(T=2,TH3,IF(T=3,TH4,IF(T=4,TH5,IF(T=5,TH6,IF(T=6,TH7,
IF(T=7,TH8,IF(T=8,TH9,IF(T=9,TH10,IF(T=10,TH11,IF(T=11,TH12,IF(T=12,TH13,IF(T=13,TH14,
IF(T=14,TH15,IF(T=15,TH16,IF(T=16,TH17,IF(T=17,TH18,IF(T=18,TH19,IF(T=19,TH20,
IF(T=20,TH21,IF(T=21,TH22,IF(T=22,TH23,IF(T=23,TH24,IF(T=24,TH25,IF(T=25,TH26,IF(T=26,TH27,
IF(T=27,TH28,IF(T=28,TH29,IF(T=29,TH30,IF(T=30,TH31,IF(T=31,TH32,IF(T=32,TH33,IF(T=33,TH34,
IF(T=34,TH35,IF(T=35,TH36,IF(T=36,TH37,IF(T=37,TH38,IF(T=38,TH39,IF(T=39,TH40,C))))))))))))))))))))))))))))))))))))))));
STICKLINE(CURRBARSCOUNT=(N+T),LL,THG,1,0),COLOR008800;
STICKLINE(CURRBARSCOUNT=(N+G),GLT,HH,1,0),COLOR0000D8;
[url=http://www.goodgupiao.com/gupiaogongshi/8574.html][B]简睿余玉_分析图右边留白 (原码)[/B][/url]