微信扫一扫,快速登录
15
36
46
等级: 标准版
使用道具 举报
21
1万
等级: 超级版主
buy(TODAYBAR=3,1,marketr); sell(time=CLOSETIME(0),1,marketr); //最近一次空仓时候的资产 last_asset:ref(asset,openbar); //空仓以来的最大资产值 hx:hhv(asset,openbar+1); //最高资产-当前资产 回撤数值:(hx-asset); //预警条件 con:hx-last_asset>500 and 回撤数值>100 and holding<>0; DRAWICON(con,h,1); SPEAK(con,'回撤满足'); 资产:ASSET,NOAXIS;
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|上海金之塔信息技术有限公司 ( 沪ICP备13035422号 )
GMT+8, 2025-7-28 22:55 , Processed in 0.103412 second(s), 21 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.