日盤(pán)和夜盤(pán)的最低價(jià)和最高價(jià)如何得到? [開(kāi)拓者 TB]
-
咨詢內(nèi)容:
想劃線,分別畫(huà)出日盤(pán)和夜盤(pán)的最低價(jià)和最高價(jià)。如何取得畫(huà)出來(lái)?
?
?來(lái)源:CXH99.COM
-
TB技術(shù)人員:
- Vars
- ? ? ? ? NumericSeries dayhigh;
- ? ? ? ? NumericSeries daylow;
- ? ? ? ? NumericSeries Nhigh;
- ? ? ? ? NumericSeries Nlow;
- Begin
- ? ? ? ? if(barstatus==0 || time==0.09??)
- ? ? ? ? {
- ? ? ? ? ? ? ? ? dayhigh = high;
- ? ? ? ? ? ? ? ? daylow = low;
- ? ? ? ? }else if(time >0.09 && time<=0.15)
- ? ? ? ? {
- ? ? ? ? ? ? ? ? dayhigh = Max(dayhigh,high);
- ? ? ? ? ? ? ? ? daylow = min(daylow,low);
- ? ? ? ? }
- ? ? ? ? if(barstatus ==0 || time==0.21)
- ? ? ? ? {
- ? ? ? ? ? ? ? ? Nhigh = high;
- ? ? ? ? ? ? ? ? Nlow = low;
- ? ? ? ? }else if(time>0.21 || time<0.08)
- ? ? ? ? {
- ? ? ? ? ? ? ? ? Nhigh = Max(Nhigh,high);
- ? ? ? ? ? ? ? ? Nlow = Min(Nlow,low);
- ? ? ? ? }
- ? ? ? ? if(time>=0.09 && time<=0.15)
- ? ? ? ? {
- ? ? ? ? ? ? ? ? PlotNumeric("dayhigh",dayhigh);
- ? ? ? ? ? ? ? ? PlotNumeric("daylow",daylow);
- ? ? ? ? }
- ? ? ? ? if(time>=0.21 || time<0.08)
- ? ? ? ? {
- ? ? ? ? ? ? ? ? PlotNumeric("Nhigh",Nhigh);
- ? ? ? ? ? ? ? ? PlotNumeric("Nlow",Nlow);
- ? ? ? ? }
- end
- Vars
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容