每筆交易盈利為紅色 虧損為綠色怎么寫? [金字塔]
- 咨詢內容:
請教:每筆交易盈利為紅色 虧損為綠色怎么寫?
- 金字塔客服:
這個紅色和綠色在什么地方體現出來?
- 用戶回復:
開倉,平倉的連線
- 網友回復:
drawline(holding>0 and c-enterprice>0,c,holding=0,c,0,colorred);
drawline(holding>0 and c-enterprice<0,c,holding=0,c,0,colorgreen);
drawline(holding<0 and c-enterprice>0,c,holding=0,c,0,colorred);
drawline(holding<0 and c-enterprice<0,c,holding=0,c,0,colorgreen); - 網友回復:
這個寫法不對!!顯示出來是一個起點、多個終點,完全是亂的
請老師加載一下看看效果,然后修改代碼再貼出來!!
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容