当前位置:分析家公式网 → 股票公式 → 交易师公式 → 一键转帖:希望主图(交易师公式 主图 源码 测试图)
软件名称:[B]希望主图(交易师公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:17.0 KB
官方主页:Home Page
更新时间:2020-11-19 00:15:38
软件简介:
希望主图,本公式适用于交易师软件。
{ 希望主图 }{主图叠加}{}{原公式限制:无}
input:N99(5,1,111);
a1:=IF((DATE < 1111228),1,0);
①工:EMA(CLOSE,17),linethick3,colorRed;
PARTLINE(①工 <= (REF(①工,1)),①工),linethick3,ColorGreen;
MA4:MA(CLOSE,4),colorWhite;
MA9:MA(CLOSE,9),colorYellow;
a2:=(20);
a3:=(7);
a4:=(69);
a5:=IF((DATE <= 1341231),1,0);
a6:=EMA(CLOSE,3);
a7:=EMA(CLOSE,8);
a8:=EMA(a7,13);
a9:=EMA(a7,55);
a10:=EMA(a8,62);
a11:=EMA(a9,81);
a12:=EMA(a10,144);
a13:=EMA(a10,250);
a14:=((CLOSE + HIGH) + LOW) / 3;
a15:=(EMA(a14,10)) * a5;
a16:=(REF(a15,1)) * a5;
STICKLINE(((a15 > a16) * a1),a15,a16,4,0),colorYellow;
STICKLINE(((a15 < a16) * a1),a15,a16,4,0),ColorFF0000;
a17:=(((REF(HIGH,1)) + (REF(LOW,1))) / 2) * a5;
a18:=(MA(CLOSE,a2)) + ((2 * (STD(CLOSE,a2))) * a5);
DRAWTEXT(((CROSS(a15,a16)) * a1),(a15 * 0.98),'★买'),colorYellow;
DRAWTEXT(((CROSS(a17,a18)) * a1),(HIGH * 1.04),'↓卖'),Color008000;
a19:=REF(CLOSE,1);
a20:=((SMA((MAX((CLOSE - a19),0)),a3,1)) / (SMA(ABS((CLOSE - a19)),a3,1))) * 100;
a21:=CROSS(a4,a20);
a22:=(FILTER(a21,4)) * a5;
DRAWTEXT((a22 * a1),(HIGH * 1.04),'↓卖'),colorWhite;
a23:=(((2 * CLOSE) + HIGH) + LOW) / 4;
a24:=LLV(LOW,34);
a25:=HHV(HIGH,34);
a26:=(EMA((((a23 - a10) / (a17 - a10)) * 100),7)) * a5;
a27:=(EMA(((0.667 * (REF(a26,1))) + (0.333 * a26)),5)) * a5;
DRAWTEXT((IF(((((((COUNT((CLOSE < a19),8)) / 8) > 0.6) AND (VOL >= (1.5 * (MA(VOL,5))))) AND (COUNT((a26 >= a27),3))) AND ((REF(LOW,1)) = (LLV(LOW,120)))),(1 * a1),0)),LOW,'●买进'),colorMagenta;
DRAWTEXT((IF(((((((((((COUNT((CLOSE < a19),13)) / 13) > 0.6) AND (COUNT((a26 > a27),6))) AND ((REF(LOW,5)) = (LLV(LOW,120)))) AND (REF((CLOSE >= OPEN),4))) AND (REF((CLOSE > OPEN),3))) AND (REF((CLOSE > OPEN),2))) AND (REF((OPEN > CLOSE),1))) AND (OPEN > a19)),(1 * a1),0)),LOW,'●买进'),colorYellow;
a28:=((MA(CLOSE,80)) - ((MA(CLOSE,10)) / 3)) * a5;
DRAWTEXT((IF(((((CLOSE < a28) AND ((VOL / 240) > ((MA(VOL,5)) / 240))) AND (CLOSE > (a19 * 1.08))) AND (CLOSE < ((MA(CLOSE,13)) * 1.3))),(1 * a1),0)),LOW,'●抄底'),colorRed;
STH:(MAX(OPEN,CLOSE)) * a1,linethick0;
STL:(MIN(OPEN,CLOSE)) * a1,linethick0;
锤头:((HIGH - STH) < (STH - STL)) AND ((STL - LOW) > ((STH - STL) * 2)),linethick0;
吞没:(STH > (REF(STH,1))) AND (STL < (REF(STL,1))),linethick0;
盖顶:((STH > (REF(STH,1))) AND (STL < ((REF(STL,1)) + (((REF(STH,1)) - (REF(STL,1))) / 2)))) AND (CLOSE < OPEN),linethick0;
刺透:((STL < (REF(STL,1))) AND (STH > ((REF(STL,1)) + (((REF(STH,1)) - (REF(STL,1))) / 2)))) AND (CLOSE > OPEN),linethick0;
STICKLINE((锤头 = (1 * a1)),OPEN,CLOSE,2.5,500),colorYellow;
STICKLINE((吞没 = (1 * a1)),OPEN,CLOSE,2.5,500),colorGreen;
STICKLINE((盖顶 = (1 * a1)),OPEN,CLOSE,2.5,0),colorRed;
STICKLINE((刺透 = (1 * a1)),OPEN,CLOSE,2.5,0),ColorFF0000;
a29:=(100 * (CLOSE - a19)) / a19;
a30:=IF(((CLOSE < (REF(OPEN,1))) AND (a29 < 0)),1,0);
a31:=IF(((CLOSE < (REF(OPEN,2))) AND (a29 < 0)),1,0);
a32:=(((a30 = 0) AND ((REF(a30,1)) = 1)) AND (a31 = 0)) AND ((REF(a31,1)) = 1);
DRAWICON(((a32 = 1) * a1),LOW,11);
a33:=IF(((((AMOUNT / CLOSE) / ((HHV(AMOUNT,20)) / (HHV(CLOSE,20)))) * 100) > 100),100,(((AMOUNT / CLOSE) / ((HHV(AMOUNT,20)) / (HHV(CLOSE,20)))) * 100));
a34:=(IF((a33 > 1),1,a33)) * 100;
a35:=COST(0.33);
a36:=COST(5);
a37:=COST(15);
a38:=COST(55);
a39:=COST(97);
a40:=COST(90);
a41:=COST(70);
a42:=COST(30);
a43:=COST(10);
a44:=WINNER(CLOSE) * 100;
a45:=100 - a44;
a46:=HIGH < (REF(LOW,1));
a47:=LOW > (REF(HIGH,1));
DRAWTEXT((a46 * a1),(HIGH * 1.01),'...下缺...'),linethick1,colorCyan;
DRAWTEXT((a47 * a1),(LOW * 0.995),'...上缺...'),linethick1,colorRed;
a48:=BARSLAST((VOL = (HHV(VOL,30))));
a49:=a48 = 0;
a50:=SUMBARS(a49,1);
a51:=SUMBARS(a49,2);
a52:=SUMBARS(a49,3);
a53:=SUMBARS(a49,4);
a54:=SUMBARS(a49,5);
a55:=SUMBARS(a49,6);
a56:=SUMBARS(a49,7);
a57:=SUMBARS(a49,8);
a58:=SUMBARS(a49,9);
a59:=SUMBARS(a49,10);
a60:=REF(CLOSE,(a50 - 1));
AAS:STICKLINE(((a50 <= 30) * a1),(a60 * 1.002),a60,10,0),colorYellow;
BAS:STICKLINE(((a51 <= 30) * a1),((REF(CLOSE,(a51 - 1))) * 1.002),(REF(CLOSE,(a51 - 1))),10,0),colorWhite;
CAS:STICKLINE(((a52 <= 30) * a1),((REF(CLOSE,(a52 - 1))) * 1.002),(REF(CLOSE,(a52 - 1))),10,0),ColorFF0000;
DAS:STICKLINE(((a53 <= 30) * a1),((REF(CLOSE,(a53 - 1))) * 1.002),(REF(CLOSE,(a53 - 1))),10,0),ColorFF0000;
EAS:STICKLINE(((a54 <= 30) * a1),((REF(CLOSE,(a54 - 1))) * 1.002),(REF(CLOSE,(a54 - 1))),10,0),ColorFF0000;
FAS:STICKLINE(((a55 <= 30) * a1),((REF(CLOSE,(a55 - 1))) * 1.002),(REF(CLOSE,(a55 - 1))),10,0),ColorFF0000;
GAS:STICKLINE(((a56 <= 30) * a1),((REF(CLOSE,(a56 - 1))) * 1.002),(REF(CLOSE,(a56 - 1))),10,0),ColorFF0000;
HAS:STICKLINE(((a57 <= 30) * a1),((REF(CLOSE,(a57 - 1))) * 1.002),(REF(CLOSE,(a57 - 1))),10,0),ColorFF0000;
IAS:STICKLINE(((a58 <= 30) * a1),((REF(CLOSE,(a58 - 1))) * 1.002),(REF(CLOSE,(a58 - 1))),10,0),ColorFF0000;
JAS:STICKLINE(((a59 <= 30) * a1),((REF(CLOSE,(a59 - 1))) * 1.002),(REF(CLOSE,(a59 - 1))),10,0),ColorFF0000;
a61:=LLV(HIGH,240);
a612:=TODAYBAR;
a62:=(100 * (CLOSE - a61)) / a61;
a63:=((CLOSE - (LLV(LOW,528))) / ((HHV(HIGH,528)) - (LLV(LOW,528)))) * 100;
a64:=((CLOSE - (LLV(CLOSE,530))) / ((HHV(CLOSE,530)) - (LLV(CLOSE,530)))) * 100;
a65:=(0);
a66:=((MA((HHV((CLOSE - a19),0)),34)) / (MA(ABS((CLOSE - a19)),7))) * 100;
a67:=((MA((HHV((CLOSE - a19),0)),13)) / (MA(ABS((CLOSE - a19)),13))) * 100;
a68:=BARSCOUNT(CLOSE);
a69:=((a66 < 20) AND (a67 < 23)) AND (a68 > 35);
a70:=a69 AND ((COUNT(a69,1)) = 1);
a71:=(EMA(CLOSE,21)) - a7;
a72:=EMA(a71,5);
a73:=((TROUGH(3,6,1)) < 4) AND (CROSS(a71,a72));
a74:=IF((((TROUGH(3,16,1)) = 0) AND (HIGH > (LOW + 0.04))),4,0);
a75:=(((ZIG(3,6)) > (REF((ZIG(3,6)),1))) AND ((REF((ZIG(3,6)),1)) <= (REF((ZIG(3,6)),2)))) AND ((REF((ZIG(3,6)),2)) <= (REF((ZIG(3,6)),3)));
a76:=(((ZIG(3,6)) < (REF((ZIG(3,6)),1))) AND ((REF((ZIG(3,6)),1)) >= (REF((ZIG(3,6)),2)))) AND ((REF((ZIG(3,6)),2)) >= (REF((ZIG(3,6)),3)));
a77:=(((ZIG(3,22)) > (REF((ZIG(3,22)),1))) AND ((REF((ZIG(3,22)),1)) <= (REF((ZIG(3,22)),2)))) AND ((REF((ZIG(3,22)),2)) <= (REF((ZIG(3,22)),3)));
a78:=(((ZIG(3,22)) < (REF((ZIG(3,22)),1))) AND ((REF((ZIG(3,22)),1)) >= (REF((ZIG(3,22)),2)))) AND ((REF((ZIG(3,22)),2)) >= (REF((ZIG(3,22)),3)));
a79:=(((ZIG(3,51)) > (REF((ZIG(3,51)),1))) AND ((REF((ZIG(3,51)),1)) <= (REF((ZIG(3,51)),2)))) AND ((REF((ZIG(3,51)),2)) <= (REF((ZIG(3,51)),3)));
a80:=(((ZIG(3,51)) < (REF((ZIG(3,51)),1))) AND ((REF((ZIG(3,51)
[url=http://www.70822.com/soft/sort013/sort091/down-152048.html]希望主图(交易师公式 主图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort091/down-152048.html]希望主图(交易师公式 主图 源码 测试图)[/url]