鼎砥投资论坛 中国顶级投资技术交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

鼎砥股票分析系统龙头版V2.0预售公告
查看: 575|回复: 2

简单分形

[复制链接]
发表于 2018-9-23 13:06 | 显示全部楼层 |阅读模式
本帖最后由 ytku 于 2018-9-23 13:25 编辑
/ y3 [( X# K7 K
# Y' O. v/ e0 y6 T                                7 V8 Y. @- O: N+ ]8 Y) n1 N2 i
简单分形(飞狐)
5 r! ~4 N: g, I8 b$ V! y
这是用未来函编制的公式,只能用于观察波浪的编浪码,千千万万别把他的讯号用来做交易讯号
,切记
0 K& h5 W$ M, d% z# ]& a- ^  p
Var1:=BACKSET(refx(REF(HIGH,3)=HHV(HIGH,10),1),3);
Var2H:=CROSS(Var1,0.9);
Var3:=BACKSET(refx(REF(LOW,3)=LLV(LOW,10),1),3);
Var4L:=CROSS(Var3,0.9);
//STICKLINE(Var2H,HIGH*1.02,HIGH*1.05,5,0),Color00E40E;
//STICKLINE(Var4L,LOW*0.99,LOW*0.97,5,0),Color0000ee;
# e8 R, k, m- Q) h2 w1 I% ~; V
//=================================================================

& k* q6 ^: R  ?5 s1 \( f& H
fL:=L;
fH:=H;
abarpos:=sysparam(2);
bbarpos:=sysparam(3);
Lv:=LLVBARS(fL,bbarpos-abarpos+1);
hv:=HHVBARS(fH,bbarpos-abarpos+1);
Lz:=bbarpos-Lv[bbarpos];{barpos, Lz = = = BARPOS }
hz:=bbarpos-hv[bbarpos];{barpos,hZ = = = BARPOS }
Laa:=fL[Lz];
Haa:=fH[hz];
6 a$ v2 q- ?: }$ f
LLxp1[1]:=0;
HHxp1[1]:=0;
HHxp1:=hz;
LLxp1:=Lz;
LLxp1x:=Lz-3;
wz:=Lz;
0 z! k1 r+ g! Y5 m4 m1 S' s
aaL:=Var4L;
bbL:=Var4L;
4 G  T4 R& O' K/ \" f
aaH:=Var2H;
bbH:=Var2H;
) B, p6 C" {% M9 Z' Z* s
LaaHT1:=LaaHT[Lz]-LaaHT+1;{ LaaHT1 = 编浪码}
! k1 z# P% g# W  T; l2 T4 \
raaHT:=if(barpos<Lz,0,sum(bbH and barpos>=Lz,0) );
raaHT1:=abs(raaHT[Lz]-raaHT);{reversivetotal, raaHT1 = 编浪码}

5 i+ T1 A8 ]0 h0 G
LaaLT:=sum(aaLand barpos<=Lz,0);
LaaLT1:=LaaLT[Lz]-LaaLT+1; { LaaLT1 = 编浪码}
7 E8 V5 U& p' P% {) h: x0 `* R
raaLT:=if(barpos<Lz,0,sum(bbL and barpos>=Lz,0) );
raaLT1:=abs(raaLT[Lz]-raaLT);{reversive total,  raaLT1 = 编浪码}

7 v- u4 J6 e  V$ Q
INPUT:LLL_le(1,0,500,1);
INPUT:LLL_ri(1,0,500,1);
INPUT:H_le(1,0,500,1);{定高位左侧时空本源}
INPUT:H_ri(1,0,500,1);{定高位右侧时空本源}
INPUT:L_le(1,0,500,1);{定低位左侧时空本源}
INPUT:L_ri(1,0,500,1);{定低位右侧时空本源}
//-------------------------------------------------------------------------------------------------------------------------------------
0 Y$ v; k2 j  _# x9 V) X0 F
LzzLT:=barslast(aaLand LaaLT1=LLL_le and LaaLT1<>ref(LaaLT1,1)); {left}
LzzLT1:=bbarpos-LzzLT[bbarpos];
Lmxpp:=LzzLt1;
- [. g4 l/ G. ^' }, o; w
rzzLT:=barslast(bbLand raaLt1=LLL_ri and raaLT1<>ref(raaLT1,1)); {right}
rzzLT1:=bbarpos-rzzLT[bbarpos];
//Lmxpp:=bbLt1;
//= = = = = = = = = = = = = = =  = = = =
xxo:=1.4;
xxn:=1.75;
zzq00:=fL[LzzLt1]; {important ######## 空间起始位在 LzzLT1起叠空间幅}

' C' _4 _5 ?* P6 X/ ?( ?. L9 [7 J2 t# L
//= = = = = = = = = = = = = = =
Laap:=fL[LzzLt1];
allnn:=barslast(barpos=LzzLt1);  {important ## 时间起始位LzzLT1起算时间BARS}

8 Y2 a: o2 Q! b
drawnumber(mod(barpos,3)=0and aaL and barpos<=wz,L*0.80,LaaLT1,0),colorffaa55;
drawnumber(mod(barpos,3)=1and aaL and barpos<=wz,L*0.88,LaaLT1,0),colorffaa55;
drawnumber(mod(barpos,3)=2and aaL and barpos<=wz,L*0.82,LaaLT1,0),colorffaa55;
drawnumber(mod(barpos,3)=0and bbL and barpos>=wz,L*0.76,raaLT1,0),color00aaff;
drawnumber(mod(barpos,3)=1and bbL and barpos>=wz,L*0.92,raaLT1,0),color00aaff;
drawnumber(mod(barpos,3)=2and bbL and barpos>=wz,L*0.86,raaLT1,0),color00aaff;

' I+ H  j4 f" b/ i9 \
drawnumber(mod(barpos,3)=0and aaH and barpos<LLxp1,H*1.06,LaaHT1,0),coloree88cc;
drawnumber(mod(barpos,3)=1and aaH and barpos<LLxp1,H*1.12,LaaHT1,0),coloree88cc;
drawnumber(mod(barpos,3)=2and aaH and barpos<LLxp1,H*1.16,LaaHT1,0),coloree88cc;
drawnumber(mod(barpos,3)=0and bbH and barpos>LLxp1,H*1.06,(raaHT1),0),color33dd00;
drawnumber(mod(barpos,3)=1and bbH and barpos>LLxp1,H*1.12,(raaHT1),0),color33dd00;
drawnumber(mod(barpos,3)=2and bbH and barpos>LLxp1,H*1.16,(raaHT1),0),color33dd00;
  L. s0 O( I% w. K( N

: b% [" c! A4 G- ?& M$ t3 f                                
== = = = = = = = = = = = = = = = = = = =  = = = = = = 附带后话1
& N2 D, |" M1 R- N0 Q2 g3 l
AMIBROKER"

' b" K; `) w. z  O
var1sg=Ref((REF(HIGH,-3)==HHV(HIGH,10)),1);
-- - - - - - -
i=0;
j=0;

7 s* c; ?) A6 a/ M1 e- V
for(j = 0; j < barvisi-1; j++ )
{
if(var1sg[startvi+j]==1 )
{
    kk=startvi+j;
        for(i = 1; i < sgnn; i++ )
    {
      var1sg[kk-i ] = 1;
    }
}
}
-- - - - - - -

; h$ ^3 r* q" s1 P
Lzzxt0=(aaLand LaaLT==LLL_le)*L;  /* error - - - >  sum(aaL andLaaLT==LLL_le, bbarpos-abarpos) */
LzzxT=HHVBARS(Lzzxt0,endvi-startvi+1);
LzzxT1=endvi-LzzxT[endvi];
* a9 C# g+ o$ l8 W
zzq00:=fL[LzzLt1]; /* zzq00=fL[Lzzxt1];  - - - > LzzxT=HHVBARS( ) = =  correct,zzq00=fL[Lzzxt1];  - - - > LzzxT=sum( ) = = error */
0 y9 J. b; S% D  e9 _
METASTOCK:

! H" h/ x4 q* m. t
TRADESTATION:

# c1 V1 @; H: ^+ M5 H) P8 ~
飞狐就像了不起的山东大汉
飞狐了不起的变数或函数
BARPOS,
sum
barslast
partline
fillrgn
stickline
变数直接划线
平移模式用小手平移画面
我用两台43LCD串排(我全部使用 LINUX系统)
参数修改视窗
快速移动画面(我可以一次观察将近20年的日K线,而仍能够很快移动画面)

4 O9 M( d" D# c, I
我在AMIBROKER中只用将近5年的日线,结果等一,二分钟才出现K线,画面动一下又要等好久
! I9 U" y+ p: S( o0 C' N
飞狐没有AMIBROKER",METASTOCK, TRADESTATION等的百花俏,千花俏功能,在我看来那些百花俏,千花俏功能远没有我喜欢的飞狐功能好
尤其BARPOS及位置定线zzq00:=fL[LzzLt1];的功能让人能任意遨游在画面的任一个角落
5 D7 k2 W& F  N9 K
) u1 S" Z5 i% c* T: |7 y. N# }4 z8 t! v
                                
== = = = = = = = = = = = = = = = = = = =  = = = = = = 附带后话2
9 x: S0 `. H0 U2 L4 r$ ~# c7 |
InGann’s Master Course for Stocks he said “ Within the circle forms the square, there is an inner circle and an inner square,as well as anouter square and an outer circle which prove the Fourth Dimension in working out price movements. ”So far, we have covered the inner circle ( The Earth’s Orbit aroundthe Sun) and the inner square ( Historic high & low coordinateson the square itself). The outer circle includes all of the planets and is the Zodiac starting at the left side of the square also on March 21st. Moving from this point along the Zodiac clockwise in 30 degree sections of the circle will place all 12 zodiac symbols around the wheel .  This completes the outer circle and allows the analyst to examine planetary longitude relationships to price coordinates on the Square of 9, which is now an outer square .
: ^8 U5 I5 _* Y, Z
In this way, we can convert planetary positions to prices relating to degrees of a circle  (Zodiac longitude) and also to coordinates on theSquare of 9.
我猜测
内圆=时间=地球轨道
=价格(九方阵)
外圆=zodiac=第四维黄道时间轴
5 p( J) w4 `) O) X
$ r  R* d4 q$ r! |8 c" u: O' w
== = = = = = = = = = = = = = = = = = = =  = = = = = = 附带后话3& K4 K4 s; m# d9 y2 C3 n! y
江恩语句 ”转势近在眼前”
6 [" ~) B: _7 y' R6 {: uMarketGeometry is a study of relationship between Xaxis and Y-axis of atwo-dimension diagram. Accordingly, Market Geometry is a study ofrelationship6 y' N: L! q5 a" i% y8 h& G" Q
betweentime-axis and price-axis. There was  a famous rule on marketgeometry that, “When time squares price, a change in trend isimminent.”

2 Y/ Q1 x  Y' K7 a/ x) t3 o7 Z
永远不要确认市场转势,直到时间超越价格的平衡”
应该指的是这句
Whentime squares price, a change in trend is imminent.”
1.有人说价格与时间有平方关系
2.有人说价格等于时间(whenthe time and price come to the same magnitude)
3.有人说价格与时间成方
4.有人说时间超越价格的平衡(Whenthe time overbalances the price)
事实上这句“Whentime squares price, a change in trend is imminent.”

2 J! z5 K( n% x- d2 n; K! I
上句话我只理解到我自己的含意,时间让价格走到正方位”
我猜测江恩以黄道经度做为第四维时间轴,9方阵价格做为第四维度中的价格衡量器,定位何时何价理念

$ J6 f& r3 r. t! V( y7 s
( o0 @# D  S: n# b- f; |* p- q
== = = = = = = = = = = = = = = = = = = =  = = = = = = 附带后话4
我猜测上面一切的理解都藏在江恩的棉花预测图中,要在这图解开所谓何时何价或接近何时何价的理念,我猜测必须先研究理解江恩的cause (江恩研究这个cause将近20)
我的定位理念与上面猜测的江恩理念略有不同, 就在第一图中
对于不同想法的朋友,你就把上面全部猜测的话一笑置之吧,我不会再有其他回复

# ]& X1 T6 Z" E2 d; `( O
(無法上傳圖片)
! F8 d$ R7 T& }0 M
发表于 2018-9-30 00:21 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2018-11-23 08:46 | 显示全部楼层
3 b0 ~* D& }. r' G+ N# D! \
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|鼎砥投资论坛 ( 吉ICP备10005613号-2   

吉公网安备 22020402000209号

GMT+8, 2019-3-24 04:20 , Processed in 0.108968 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表