期貨期權(quán)交流PlotPaintBar函數(shù)如何設(shè)定指標(biāo)名稱(chēng)?
作者:MC 來(lái)源:cxh99.com 發(fā)布時(shí)間:2016年07月27日
- 咨詢(xún)內(nèi)容:
PlotPaintBar (BarHigh, BarLow, BarOpen, BarClose <,"PlotName"<,PlotColor <,Default <,LineWidth >>>>)
如題,假如我要畫(huà)K線(xiàn),給四個(gè)參數(shù)分別命名為H,L,O,C,但是寫(xiě)成PlotPaintBar(H,L,O,C,"H","L","O","C")、或是(H,"H",L,"L",O,"O",C,"C")都不對(duì),請(qǐng)問(wèn)要怎么寫(xiě)?
- MC技術(shù)部:
范例
當(dāng)K棒開(kāi)盤(pán)價(jià)比前一根K棒開(kāi)盤(pán)價(jià)低時(shí),將K棒以紅色表示:
If Open<Open[1] Then
PlotPaintBar(High,Low,Open,Close,"",Red);
“ "里面的是命名