找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 575|回复: 12

在图形上绘制小图标.(转载)

  [复制链接]
发表于 2022-2-25 04:11 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 股友量 于 2022-2-25 04:19 编辑

在图形上绘制小图标. 用法:DRAWICON(COND,PRICE,TYPE),COND条件满足时,PRICE位置画TYPE号图标。   例如:  DRAWICON(CLOSE>OPEN,LOW,1)表示当收阳时在最低价位置画1号图标。DRAWICON1-20都画什么图形?



{1——25
的图标公式}


A:=CURRBARSCOUNT;A1:=0.0007;
DRAWTEXT(A=92,A1*1.008,'   
1');DRAWICON(A=92,A1,1);
DRAWTEXT(A=84,A1*1.008,'   
2');DRAWICON(A=84,A1,2);
DRAWTEXT(A=76,A1*1.008,'   
3');DRAWICON(A=76,A1,3);
DRAWTEXT(A=68,A1*1.008,'   
4');DRAWICON(A=68,A1,4);
DRAWTEXT(A=60,A1*1.008,'   
5');DRAWICON(A=60,A1,5);
DRAWTEXT(A=92,A1*0.99,'   
6');DRAWICON(A=92,A1*0.98,6);
DRAWTEXT(A=84,A1*0.99,'   
7');DRAWICON(A=84,A1*0.98,7);
DRAWTEXT(A=76,A1*0.99,'   
8');DRAWICON(A=76,A1*0.98,8);
DRAWTEXT(A=68,A1*0.99,'   
9');DRAWICON(A=68,A1*0.98,9);
DRAWTEXT(A=60,A1*0.99,'   
10');DRAWICON(A=60,A1*0.98,10);
DRAWTEXT(A=92,A1*0.97,'   
11');DRAWICON(A=92,A1*0.96,11);
DRAWTEXT(A=84,A1*0.97,'   
12');DRAWICON(A=84,A1*0.96,12);
DRAWTEXT(A=76,A1*0.97,'   
13');DRAWICON(A=76,A1*0.96,13);
DRAWTEXT(A=68,A1*0.97,'   
14');DRAWICON(A=68,A1*0.96,14);
DRAWTEXT(A=60,A1*0.97,'   
15');DRAWICON(A=60,A1*0.96,15);
DRAWTEXT(A=92,A1*0.95,'   
16');DRAWICON(A=92,A1*0.94,16);
DRAWTEXT(A=84,A1*0.95,'   
17');DRAWICON(A=84,A1*0.94,17);
DRAWTEXT(A=76,A1*0.95,'   
18');DRAWICON(A=76,A1*0.94,18);
DRAWTEXT(A=68,A1*0.95,'   
19');DRAWICON(A=68,A1*0.94,19);
DRAWTEXT(A=60,A1*0.95,'   
20');DRAWICON(A=60,A1*0.94,20);
DRAWTEXT(A=92,A1*0.93,'   
21');DRAWICON(A=92,A1*0.92,21);
DRAWTEXT(A=84,A1*0.93,'   
22');DRAWICON(A=84,A1*0.92,22);
DRAWTEXT(A=76,A1*0.93,'   
23');DRAWICON(A=76,A1*0.92,23);
DRAWTEXT(A=68,A1*0.93,'   
24');DRAWICON(A=68,A1*0.92,24);
DRAWTEXT(A=60,A1*0.93,'   
25');DRAWICON(A=60,A1*0.92,25);



{26——49
图标公式}

A:=CURRBARSCOUNT;A1:=0.0007;
DRAWTEXT(A=92,A1*1.008,'   
26');DRAWICON(A=92,A1,26);
DRAWTEXT(A=84,A1*1.008,'   
27');DRAWICON(A=84,A1,27);
DRAWTEXT(A=76,A1*1.008,'   
28');DRAWICON(A=76,A1,28);
DRAWTEXT(A=68,A1*1.008,'   
29');DRAWICON(A=68,A1,29);
DRAWTEXT(A=60,A1*1.008,'   
30');DRAWICON(A=60,A1,30);
DRAWTEXT(A=92,A1*0.99,'   
31');DRAWICON(A=92,A1*0.98,31);
DRAWTEXT(A=84,A1*0.99,'   
32');DRAWICON(A=84,A1*0.98,32);
DRAWTEXT(A=76,A1*0.99,'   
33');DRAWICON(A=76,A1*0.98,33);
DRAWTEXT(A=68,A1*0.99,'   
34');DRAWICON(A=68,A1*0.98,34);
DRAWTEXT(A=60,A1*0.99,'   
35');DRAWICON(A=60,A1*0.98,35);
DRAWTEXT(A=92,A1*0.97,'   
36');DRAWICON(A=92,A1*0.96,36);
DRAWTEXT(A=84,A1*0.97,'   
37');DRAWICON(A=84,A1*0.96,37);
DRAWTEXT(A=76,A1*0.97,'   
38');DRAWICON(A=76,A1*0.96,38);
DRAWTEXT(A=68,A1*0.97,'   
39');DRAWICON(A=68,A1*0.96,39);
DRAWTEXT(A=60,A1*0.97,'   
40');DRAWICON(A=60,A1*0.96,40);
DRAWTEXT(A=92,A1*0.95,'   
41');DRAWICON(A=92,A1*0.94,41);
DRAWTEXT(A=84,A1*0.95,'   
42');DRAWICON(A=84,A1*0.94,-6);
DRAWTEXT(A=76,A1*0.95,'   
43');DRAWICON(A=76,A1*0.94,-11);
DRAWTEXT(A=68,A1*0.95,'   
44');DRAWICON(A=68,A1*0.94,-23);
DRAWTEXT(A=60,A1*0.95,'   
45');DRAWICON(A=60,A1*0.94,-24);
DRAWTEXT(A=92,A1*0.93,'   
46');DRAWICON(A=92,A1*0.92,-28);
DRAWTEXT(A=84,A1*0.93,'   
47');DRAWICON(A=84,A1*0.92,-33);
DRAWTEXT(A=76,A1*0.93,'   
48');DRAWICON(A=76,A1*0.92,-34);
DRAWTEXT(A=68,A1*0.93,'   
49');DRAWICON(A=68,A1*

本帖被以下淘专辑推荐:

发表于 2022-2-25 08:02 | 显示全部楼层
谢谢您的分享!
回复

使用道具 举报

发表于 2022-3-12 15:30 | 显示全部楼层
谢谢分享谢谢
回复

使用道具 举报

发表于 2022-3-12 20:50 | 显示全部楼层
谢谢分享谢谢
回复

使用道具 举报

发表于 2022-5-18 10:55 | 显示全部楼层
贴上一张图
回复

使用道具 举报

发表于 2022-5-20 21:29 | 显示全部楼层
谢您的分享!
回复

使用道具 举报

发表于 2022-7-15 15:59 | 显示全部楼层
非常详细,感谢分享
回复

使用道具 举报

发表于 2022-7-29 21:38 | 显示全部楼层

好好学习 天天向涨
回复

使用道具 举报

发表于 2022-12-24 08:12 | 显示全部楼层
学长能不能帮我改一下斜率的表述。作者也表示这个正弦是不正确的
A1:= (C>REF(L,1)+((REF(H,1)-REF(L,1))*0.7)) OR C> REF(MAX(C,O),1);
买点: A1 AND (MA(C,10)>C *1.05 OR SIN(MA(C,10)-REF(MA(C,10),1)/1) >0.1
OR COUNT(A1,18)> 2  OR  SIN(MA(C,5)-REF(MA(C,5),1)/1)> 0.2 OR
(MA(C,5)> REF(MA(C,5),1) AND MA(C,10)> REF(MA(C,10),1) AND
MA(C,20)> REF(MA(C,20),1)) ) ,COLORRED ;
卖点:C< REF(L,1)+((REF(H,1)-REF(L,1))*0.8)
OR C<REF(MIN(C,O),1),COLORGREEN;
回复

使用道具 举报

发表于 2022-12-27 09:28 | 显示全部楼层
谢谢分享谢谢
回复

使用道具 举报

发表于 2022-12-27 20:09 | 显示全部楼层
卡巴不懂,好好学习
回复

使用道具 举报

发表于 2023-3-7 17:41 | 显示全部楼层
谢谢您的分享!
回复

使用道具 举报

发表于 2023-3-17 09:07 | 显示全部楼层
好好学习,天天向上!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-22 05:18 , Processed in 0.112443 second(s), Total 13, Slave 12 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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