四周公式怎么在文華里顯示 [文華財(cái)經(jīng)]
- 咨詢內(nèi)容:
CLOSEREF(HHV(HIGH,N),1),BK;
CLOSEREF(HHV(HIGH,M),1),Bp;
traderblazer
Params
Numeric n1(20);
Vars
NumericSeries hh;
numericseries ll;
Bool a;
bool b;
Begin
hh=Highest(high,n1);
ll=Lowest(low,n1);
a=(hh==high);
b=(ll==low);
if(a && MarketPosition!=1)
{
buy(1,close);
}
if(b && MarketPosition!=-1)
{
sellshort(1,close);
}
End
Params
Numeric length(20);
Vars
NumericSeries Highline;
NumericSeries lowline;
Numeric myprice;
Numeric lots(1);
Begin
highline=highestfc(high[1],length);
lowline=lowestfc(low[1],length);
if(MarketPosition!=1&&High>=highline)
{
myprice=highline;
if(open>=highline)myprice=open;
buy(lots,myprice);
}
if(MarketPosition!=-1&&low<=lowline)
{myprice=lowline;
if(open<=lowline)myprice=open;
SellShort(lots,myprice);
}
End
請(qǐng)問這個(gè)怎么在文華里顯示出來
- 文華技術(shù)人員: 請(qǐng)整理格式之后重新發(fā)布
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容