要在圖中畫出開倉到平倉的直線應該如何寫命令呢?
作者:金字塔 來源:cxh99.com 發布時間:2014年03月22日
- 咨詢內容:
請教:要在圖中畫出開倉到平倉的直線應該如何寫命令呢?比如3800開多倉3850平倉的紅線;3800開空倉,3780平倉的綠線。
- 金字塔客服:
drawline(holding>0 and ref(holding<0,1) ,c,holding<0,c,0,colorred);
drawline(holding<0 and ref(holding>0,1) ,c,holding>0,c,0,colorgreen);