鱷魚線選股

  •   402 
  • 最後發表   Ben0307  2017 六月 28
Ben0307 發文於   2017/06/27

您好

唇齒顎的數值與系統的數值不一樣,請協助確認,謝謝!

variable:Jaws(0), Lips(0), Teeth(0);

variable: difValue(0), macdValue(0), oscValue(0);

 

input: FastLength(12), SlowLength(26), MACDLength(9);

SetTotalBar(200);

 

SetInputName(1, "DIF短期期數");

SetInputName(2, "DIF長期期數");

SetInputName(3, "MACD期數");

 

MACD(weightedclose(), FastLength, SlowLength, MACDLength, difValue, macdValue, oscValue);

 

 

Jaws = EMA(((high + low)/2), 13)[8];

 

Teeth = EMA(((high + low)/2), 8)[5];

 

Lips = EMA(((high + low)/2), 5)[3];

 

condition1=Low[1]<Lips[1];

condition2=Low > Lips and Lips > Teeth and Teeth > Jaws;

condition4=difValue > 0;

 

if condition1 and condition2 and condition4

then RET=1;

 

 

SetOutputName1("唇");   

OutputField1(Lips);

SetOutputName2("昨日唇");   

outputfield2(Lips[1]);

setoutputname3("齒");   

outputfield3(Teeth);

setoutputname4("顎");   

outputfield4(Jaws);

setoutputname5("今日低");   

outputfield5(low);

setoutputname6("昨日低");   

outputfield6(low[1]);

XQ小幫手 發文於   2017/06/28

你好:

  鱷魚線的部分,之前有版友詢問過,請你先參考 關於鱷魚線 討論文,如有問題歡迎再發問。

發表回覆
Close