每筆交易盈利為紅色 虧損為綠色怎么寫? [金字塔]
- 咨詢內(nèi)容:
請教:每筆交易盈利為紅色 虧損為綠色怎么寫?
- 金字塔客服:
這個紅色和綠色在什么地方體現(xiàn)出來?
- 用戶回復(fù):
開倉,平倉的連線
- 網(wǎng)友回復(fù):
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); - 網(wǎng)友回復(fù):
這個寫法不對!!顯示出來是一個起點、多個終點,完全是亂的
請老師加載一下看看效果,然后修改代碼再貼出來!!
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容