ihzx 发表于 2021-8-21 14:05:17

战神系列之★战神之恋★{指标原码公开}(大智慧)

<p>以下是该指标的原码<br />
==============================================================================<br />
Var1:=CLOSE&gt;=REF(CLOSE,1) AND REF(CLOSE,1)&gt;=REF(CLOSE,2) AND REF(CLOSE,1)&lt;=REF(CLOSE,3) AND REF(CLOSE,2)&lt;=REF(CLOSE,3) AND (REF(CLOSE,4)&gt;REF(CLOSE,2) OR REF(CLOSE,4)&lt;=REF(CLOSE,2) AND REF(CLOSE,5)&gt;=REF(CLOSE,3)) OR CLOSE&gt;=REF(CLOSE,1) AND REF(CLOSE,1)&lt;=REF(CLOSE,2) AND CLOSE&gt;=REF(CLOSE,2) AND (REF(CLOSE,3)&gt;REF(CLOSE,1) OR REF(CLOSE,3)&lt;=REF(CLOSE,1) AND REF(CLOSE,4)&gt;=REF(CLOSE,2));<br />
Var2:=LLV(LOW,5);<br />
Var3:=HHV(HIGH,5);<br />
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,4);<br />
Var5:=EMA(0.667*REF(Var4,1)+0.333*Var4,2);<br />
Var6:=Var5&lt;24 AND OPEN&lt;MA(CLOSE,20);<br />
战神之恋:if(Var1 AND Var6,98.00,0),coloryellow,stick,linethick2;<br />
贝贝专用系指标:0,colorred;<br />
Var111:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;<br />
天气: SMA(Var111,3,1),linethick1;<br />
drawicon(CROSS(7.5,天气),91,2);<br />
变天:if(cross(7.5,天气),60,0),linethick2,color00ff00;<br />
DRAWTEXT(cross(7.5,天气),93,'    、、、、、'),ALIGN1,VALIGN2,color00ff00,linethick2;<br />
DRAWTEXT(cross(7.5,天气),90,'、 、 、 、 、'),ALIGN1,VALIGN2,color00ff00,linethick2;<br />
DRAWTEXT(cross(7.5,天气),86,'    、、、、、'),ALIGN1,VALIGN2,color00ff00,linethick2;<br />
DRAWTEXT(cross(7.5,天气),82,'、 、 、 、 、'),ALIGN1,VALIGN2,color00ff00,linethick2;<br />
DRAWTEXT(cross(7.5,天气),63,'       要下雨啦'),ALIGN1,VALIGN2,color00ff00;<br />
100;<br />
=================================================================================<br />
希望大家喜欢</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 战神系列之★战神之恋★{指标原码公开}(大智慧)