ihzx 发表于 2021-8-22 15:46:54

东方财富"定海神针"买卖主图(原码)

<p>以下是东方财富"定海神针"买卖主图(原码)(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>&nbsp;</p>
<p>支撑价:LLV(LOW,19),LINETHICK2 , COLOR00FF00;&nbsp;&nbsp; <br>
阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;&nbsp;&nbsp; <br>
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);&nbsp;&nbsp; <br>
VAR2:=EMA(VAR1,9);&nbsp;&nbsp; <br>
VAR3:=(CLOSE*2.5/100+CLOSE);&nbsp;&nbsp; <br>
VAR4:EMA(C,3);&nbsp;&nbsp; <br>
VAR5:=LLV(HIGH,240);&nbsp;&nbsp; <br>
VAR6:=100*(CLOSE-VAR5)/VAR5;&nbsp;&nbsp; <br>
VAR7:=REF(LLV(CLOSE,480),1);&nbsp;&nbsp; <br>
VAR8:=REF(HHV(CLOSE,480),1);&nbsp;&nbsp; <br>
VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);&nbsp;&nbsp; <br>
VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;&nbsp;&nbsp; <br>
VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;&nbsp;&nbsp; <br>
VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;&nbsp;&nbsp; <br>
VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;&nbsp;&nbsp; <br>
VARE:=VARC&gt;98.5 OR VARD&gt;98.5;&nbsp;&nbsp; <br>
VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;&nbsp;&nbsp; <br>
VAR13:=VARA=0 AND VARC=0 AND VAR6&lt;0;&nbsp;&nbsp; <br>
VAR14:=VARA=100 AND VARC=100;&nbsp;&nbsp; <br>
VAR15:=VARB=0 OR VARD=0 AND VAR9&lt;0;&nbsp;&nbsp; <br>
VAR16:=VARB=100 AND VARD=100;&nbsp;&nbsp; <br>
VAR17:=VAR6&lt;0 AND VAR9&lt;0;&nbsp;&nbsp; <br>
VAR18:=VAR13 AND VAR15;&nbsp;&nbsp; <br>
VAR19:=VAR14 AND VAR16;&nbsp;&nbsp; <br>
VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;&nbsp;&nbsp; <br>
VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;&nbsp;&nbsp; <br>
VAR1D:=BARSCOUNT(CLOSE);&nbsp;&nbsp; <br>
VAR1E:=VAR1B&lt;20 AND VAR1C&lt;23 AND VAR1D&gt;35;&nbsp;&nbsp; <br>
VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;&nbsp;&nbsp; <br>
VAR20:=REF(CLOSE,1);&nbsp;&nbsp; <br>
VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;&nbsp;&nbsp; <br>
VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;&nbsp;&nbsp; <br>
VAR23:=BARSCOUNT(CLOSE);&nbsp;&nbsp; <br>
VAR24:=VAR21&lt;20 AND VAR22&lt;23 AND VAR23&gt;35;&nbsp;&nbsp; <br>
VAR25:=VARA=0 AND VARF&lt;1.2 AND VAR17;&nbsp;&nbsp; <br>
&nbsp; <br>
VAR27:=VAR18 AND VARF&lt;1.2 AND VAR17;&nbsp;&nbsp; <br>
&nbsp; <br>
VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;&nbsp;&nbsp; <br>
VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;&nbsp;&nbsp; <br>
VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)&lt;150;&nbsp;&nbsp; <br>
VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;&nbsp;&nbsp; <br>
买点:=VAR25 AND VAR2B;&nbsp;&nbsp; <br>
绝对卖点:=(VAR19 OR VARA)AND VARF&gt;23 OR VARE ;&nbsp;&nbsp; <br>
VAR2D:=VAR1F AND VAR2C AND VAR25;&nbsp;&nbsp; <br>
分析家公式网万元户:=(CLOSE/REF(CLOSE,1)&gt;1.04 AND (CLOSE&gt;10.8 AND CLOSE&lt;10.83 OR CLOSE&gt;6.86 AND CLOSE&lt;6.88 OR CLOSE&gt;13.82 AND CLOSE&lt;13.84 OR CLOSE&gt;7.28 AND CLOSE&lt;7.3 OR CLOSE&gt;12.4 AND CLOSE&lt;12.42 OR CLOSE&gt;22.33 AND CLOSE&lt;22.35 OR CLOSE&gt;4.68 AND CLOSE&lt;4.7 OR CLOSE&gt;26.29 AND CLOSE&lt;26.31 OR CLOSE&gt;7.65 AND CLOSE&lt;7.67 OR CLOSE&gt;13.4 AND CLOSE&lt;13.42 OR CLOSE&gt;7.58 AND CLOSE&lt;7.6 OR CLOSE&gt;20.43 AND CLOSE&lt;20.45 OR CLOSE&gt;19.57 AND CLOSE&lt;19.59 OR CLOSE&gt;6.26 AND CLOSE&lt;6.28 OR CLOSE&gt;7.14 AND CLOSE&lt;7.16 OR CLOSE&gt;6.61 AND CLOSE&lt;6.63 OR CLOSE&gt;11.9 AND VOL&lt;11.92 OR CLOSE&gt;6.7 AND CLOSE&lt;6.72 OR CLOSE&gt;8.19 AND CLOSE&lt;8.21));&nbsp;&nbsp; <br>
DRAWTEXT(FILTER(绝对卖点&gt;0,3),H,'别贪'), COLOR00FF00;&nbsp;&nbsp; <br>
DRAWTEXT(分析家公式网万元户&gt;0,L,'☆追涨'),COLORYELLOW ;&nbsp;&nbsp; <br>
DRAWICON(买点&gt;0,L,4);&nbsp;&nbsp; <br>
DRAWTEXT(买点&gt;0,L,'扫描神针'),COLORF00FF0;&nbsp;&nbsp; <br>
DRAWTEXT(VARF&lt;0.7 AND VAR27 AND VAR25&gt;0,L,'万元'),COLORYELLOW;&nbsp;&nbsp; <br>
STICKLINE(VAR2D&gt;0,O,C,10,0), COLORRED;&nbsp;&nbsp; <br>
DRAWTEXT(VAR2D&gt;0,L,'大方神针'),COLORRED;&nbsp;&nbsp; <br>
DRAWICON(COUNT(REF(VAR4,1)&lt;REF(VAR4,2),5)=5 AND VAR4&gt;REF(VAR4,1),L*0.98,4);&nbsp;&nbsp; <br>
DRAWICON(FILTER(COUNT(VAR6&lt;0,5)AND CROSS(VAR6,0)AND VARF&gt;REF(VARF,1)AND C&gt;O,3),L,1);&nbsp;&nbsp; <br>
DRAWICON(FILTER(REF(VAR4,1)&gt;REF(VAR4,2)AND VAR4&lt;REF(VAR4,1)AND VARF&gt;17 AND VAR1&gt;VAR2,5),H,2);&nbsp;&nbsp; <br>
DRAWICON(阻力价&gt;REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C&lt;O,H*1.02,5);&nbsp;&nbsp;</p>
页: [1]
查看完整版本: 东方财富"定海神针"买卖主图(原码)