阳光飞狐

 找回密码
 手机注册
楼主: dlts

江恩的图片

[复制链接]
发表于 2011-2-6 09:00:20 | 显示全部楼层
27$ q: b0 e" j: s, ?9 ^9 I6 e
108$ N  f% j; `3 {0 a, C+ \
值得研究的神秘数字看来根源也在天上了
 楼主| 发表于 2011-2-6 10:51:05 | 显示全部楼层
印度的,堪比江恩。
发表于 2011-2-6 11:03:01 | 显示全部楼层
土鳖一个,啥都没看懂。
发表于 2011-2-6 17:23:02 | 显示全部楼层
辛苦了 辛苦了
 楼主| 发表于 2011-2-7 01:41:37 | 显示全部楼层
The programming steps to get a planet’s position
  i  K9 g2 V% WTo compute a celestial body7 y/ q4 U* \. P
or point with SWISSEPH, you have to do the following steps (use swetest.c as an example). The details of the functions will be explained in the following chapters.
6 y1 f8 ^8 L9 E6 z( s
- I3 u2 t- L6 f& C8 D1 U/ l1. % N+ @) b  b+ U
Set the directory path of the ephemeris files, e.g.: 8 D2 Y0 C2 J: J# f- p  c

/ [# `) ?8 }4 {4 q. h  zswe_set_ephe_path(”C:\\SWEPH\\EPHE”);
* m, R, Z0 R* H& N1 G
# F9 {  u) z! F3 l' |: d9 J2..
1 I& D0 Q6 X1 Y# T. n( Y! X' U  v% ~From the birth date, compute the Julian day number:9 m( t) m9 C, l

% o5 d. A" a2 c8 x. L1 \jul_day_UT = swe_julday(year, month, day, hour, gregflag);
7 T7 H  D* x, |+ F 6 d4 X- B& G8 ~' C4 l2 r4 M
3..9 i7 L5 R9 F9 Q4 T! K. m3 r
Compute a planet or other bodies:
& q2 K0 w, j; h  ?4 s! x- n5 ^/ h6 b- g, {
ret_flag = swe_calc_ut(jul_day_UT, planet_no, flag, lon_lat_rad, err_msg);
0 Y' M' T/ k+ Y" n3 R; K8 l: T( y# c' [( h
or a fixed star:
! r( M0 }5 [0 ^4 k
5 t: `6 _/ L; A/ kret_flag = swe_fixstar_ut(star_nam, jul_day_UT, flag, lon_lat_rad, err_msg);
7 `: B2 Q# O" l2 F
1 J% U) w: B% Z! C* y8 v, F+ N  _4 ?: ^
Note:
! g8 {# S7 N( v( [3 P! o/ n- e. N% g
" o9 z) g7 c% ]4 t% A4 L- [# k6 |The functions swe_calc_ut() and swe_fixstar_ut() were introduced with Swisseph version 1.60.
" C+ b) }  _2 @& ]! y) P7 [: h
, }: N: P# R; p3 X8 A
If you use a Swisseph version older than 1.60 or if you want to work with
Ephemeris Time, you have to proceed as follows instead:
7 \. y) {4 e% T! w
! [3 M. W% M4 Q4 i% `  Z& {
: W. r+ V, O- O5 ~3 S. G
First, if necessary, convert Universal Time (UT) to Ephemeris Time (ET):9 i* q7 [- X) h, _& A) L
) h1 C0 Y# Y9 M$ F& o! Z- K# P
jul_day_ET = jul_day_UT + swe_deltat(jul_day_UT);
* j) U( U$ ?% g9 u" \/ c
. \$ c3 @: o9 z) \7 v+ S* S. V; a. j1 {$ Y" Y  L, V( S
Then Compute a planet or other bodies:4 a- x; C5 @  ^9 M5 ^1 M" D) n
3 l3 f# b( A$ D2 L  x
ret_flag = swe_calc(jul_day_ET, planet_no, flag, lon_lat_rad, err_msg); / d  Y( I- J% Y$ h( A

' W9 e- j' I1 ~' p! ~1 C+ Q- b
or a fixed star:
! F  H5 h" F% L+ H' l- M. l8 n) L3 _5 T! B
ret_flag = swe_fixstar(star_nam, jul_day_ET, flag, lon_lat_rad, err_msg);
/ T, G8 ^, X# ]' H' E
9 J' M* R9 c) ]; u7 u7 B5..( A' r& E6 {" |4 ~' M  V7 M
At the end of your computations close all files and free memory calling swe_close();$ g( i7 V  H* L* q/ \" l0 z

- P0 _4 q5 p) n2 x4 H2 [Here is a miniature sample program, it is in the source distribution as swemini.c( `) G# a5 B, E( D* M' l
0 b' R3 |4 V9 x0 ]3 H! ^
#include "swephexp.h" 4 v/ D; x# _; B7 D
/* this includes- u- D  @, z( I, a2 B
"sweodef.h" */
1 ^2 q  c! |" ~int main(), l  U/ ~! q1 e; z
{  g$ h! u2 F7 c. _
. p. P7 F9 F4 U
char *sp, sdate[AS_MAXCH], snam[40], serr[AS_MAXCH];8 l2 @% W0 Q1 m* c
% S5 S7 w2 V- {" v

) j# n: B9 }5 `' B2 W+ Z; N1 O) pint jday = 1, jmon = 1, jyear = 2000;! c: U" `( V4 M5 e7 m& m5 T  P
3 l+ G/ j# I$ z
double jut = 0.0;% |; Q, o' o# l9 r  F

2 s) B3 |5 x8 H) Tdouble tjd_ut, te, x2[6];8 R* J% m3 j0 W
% d5 |2 ]: F& ?' @; S
long iflag, iflgret;
) j# Y0 g, O& z( _4 E
$ _+ i, {5 k% S- ^int p;9 j' M) ~1 P9 l

+ C  b9 o" V5 h4 yiflag = SEFLG_SPEED;0 t) m9 k+ R0 u, F8 j

7 ^1 I9 _- j% Q3 E$ R2 \# [) f' i+ rwhile (TRUE) {% ^0 C- o1 }9 d# t( ]' S9 A8 g  ~

0 k1 R2 ^8 H5 O8 n/ }" C; W! s- Q0 Fprintf("\nDate (d.m.y) ?");
. V1 y; Y6 [  _& q3 I/ Q( n1 o2 d. h8 v4 C2 r
gets(sdate);
% V7 B* Z% {, }* ?- y+ A. k2 ^
: I9 m0 U. F, \1 w/* stop if a period . is entered */
; S1 _# ^) R( n/ ^9 z9 j) W9 {0 ~0 A/ ]
if (*sdate == '.')
1 n7 C1 a- n; B8 Y/ N0 y2 k1 F5 N- P0 K" x, H8 y! p8 ^+ O
return OK;7 Y2 o, G/ l  n6 _
8 F" u0 \3 A, Q  [( \4 [
if (sscanf (sdate, "%d%*c%d%*c%d", &jday,&jmon,&jyear) < 1) exit(1);# T+ w' x$ D/ Z( G' ]3 |9 i1 ^+ C

! @; i: W8 K  V, h) H3 N. {6 e. c/ w9 C$ G1 {. Q' D
/*' n  S  d; i. C. U/ A# q
- u# X7 Q& n$ a! w  v2 J
6 v; y5 r& \7 Y: h7 [, E/ a; N1 h
* we have day, month and year and convert to Julian day number1 q1 Z! b5 V# h  }
" S) F/ W! t: `

8 q( ~$ p; a8 M1 I- _3 I*/
. M3 M( M( Q* M5 t( {# z
. W3 ?4 C  S' n/ u) `tjd_ut = swe_julday(jyear,jmon,jday,jut,SE_GREG_CAL);
7 A; `* E' B  X" [- I" R7 d" e, \* v- ^$ f( d! q: j
, |2 M  G# [  D) w

0 R% j% I+ X' @; u% n. C/*
' H! A- P2 U% y  g; X& a# f2 m. O1 ^9 Q" l/ Q# C' @; P/ Y

' a2 @/ J  d& X* compute Ephemeris from Universal by adding delta_t& H9 p1 c* c9 t8 r; B/ Q* `' {1 W
2 l4 r8 N( m: \0 p9 f
7 T+ t& Q* O' `' _2 ?9 G
* not required for Swisseph versions smaller than 1.60
9 s6 `1 \1 P+ W* ~$ D4 [, b- ^
5 ~8 M$ \9 s6 r7 Q6 m+ J: n1 L: I% D/ j' `0 S' F
*/
# c% A5 c# Z! l4 Q7 o/ y" X2 C( j8 P4 ^0 P8 |+ a
/* te = tjd_ut + swe_deltat(tjd_ut); */8 |  ^1 F0 x" O; H
$ Z" h0 N, ^6 e6 p9 N" H' f% a
printf("date: %02d.%02d.%d at 0:00 Universal time\n", jday, jmon, jyear);
/ N6 g" c% {: w7 L: J, U9 I
7 h9 L( G4 a  H( @4 u9 A* l3 Uprintf("planet
2 X/ X3 M3 W1 k3 t, F3 n5 [\tlongitude\tlatitude\tdistance\tspeed long.\n");
$ X! `% O  m  v4 g/ W) B* k! q$ x, }$ j0 U7 P+ x
: W9 @  ]3 X6 ]( Q0 Q+ _
/*# G) G/ u; l& R; T! j( [

! ?7 y8 L6 B1 D0 L
( G0 k/ ~8 D2 o$ Z* F* a loop over all planets6 ]& L( L5 [. B" \( S

3 [8 F( O5 O. S9 |, W" n* j6 ~* B0 w/ k" O) E+ L, j9 I: _
*/% X! B( a: u  J0 ?8 M$ u

& k' @; ~: f8 tfor (p = SE_SUN; p <= SE_CHIRON; p++) {
' n! O; Q+ C0 R8 l* Z$ ^) n, M1 y" p8 c! }. v& A, K
if (p == SE_EARTH) continue;
$ T$ j5 ], F  o5 n' P1 Q
. n3 B8 D' i$ i* ]6 ~/*
6 V2 M& V8 g' |3 Z6 g; C1 P
& v( E8 ~1 G" Y% B/ V  P
5 `7 M' y* S1 l* do the coordinate calculation for this planet p7 k1 ~# ~( l6 `$ _
) @& q5 g$ s" E! i  G% W+ z' l' S

1 H/ L, a  v: i, U/ K*/. V9 C  H/ |5 Q; j4 F
iflgret = swe_calc_ut(tjd_ut, p, iflag, x2, serr);
2 @7 _( n- u+ p7 Z. \- |4 c9 Q# Z3 J& k; I( X( X
. ]; B! [1 @! q# _% Q
/* Swisseph versions older than 1.60 require the following 1 O& A+ s! ^' t' p0 i3 z' E

1 w5 u( B& k* S' h0 B% k* statement instead */
+ x( P+ v  ^& Y# y( W- Q! C/* iflgret = swe_calc(te, p, iflag, x2, serr); */
8 G4 s6 n1 J) Z: `6 j0 I
7 H* k6 a. W) G% b7 D
: e# E# a7 ]7 O  i6 I9 _/*" X' N4 H- G3 A- [

% O% x& |+ m, g, R
) v) ~6 j+ {" n0 B9 ?0 k, M* if there is a problem, a negative value is returned and an
: h  }/ E  J3 R$ p6 s( p* H5 N9 j- t2 Y% o& m- G$ c& H5 N" d1 [+ e

/ j! R& y- n4 Y0 c* error message is in serr.
" o7 s# T- ^$ L' N0 x# _( h8 L) X2 w5 R7 M9 g8 W. V; B

" C* v5 r9 X  c" D*/8 n  p5 H. G4 q( c

' ^7 ^/ @- p& o8 O9 R; tif (iflgret < 0)
/ {1 _/ H( M; x& B) U8 e9 B% q  o2 L: K
7 b2 j. \: t. e! q4 v% W/ d9 h/ Fprintf("error: %s\n", serr);. P" @2 E9 ~+ b0 z, F! A; ]

! b3 \# Z/ ?8 w/ N/ b
0 `% Q9 r* w1 A& l' @# }/*4 @4 D& |1 g. s! z* h, e
% p/ S( S$ n+ p8 `0 R

% {; j3 l+ c4 c/ c& q3 x* get the name of the planet p
: `0 z, N/ W- T& F; R4 D( I* N* E# U2 m  y- u0 Q4 Q. b2 B

: F& |( d* b5 w# x: n8 P*/  T7 [- ^  c5 K# ?2 \' E: A

$ ]( R' }4 A3 W8 ~swe_get_planet_name(p, snam);5 X5 ?: J* O( }: a: {, [
8 p( U) n- a% e

/ p( x1 O, O5 B" Y, L( g0 G/*, {( A( p2 o- t; s

: |5 E7 e# c1 f4 w
5 g; H" k7 {' L2 \* print the coordinates/ _# T( L# s( n" ]3 I

' _/ z/ u3 J9 C, d0 p
' A" k. l+ F. ], I# N0 O3 _1 V*/' p! K& ~8 X2 `8 g1 W8 e

* H' E3 o: s! M! m6 J7 k# ]printf("%10s\t%11.7f\t%10.7f\t%10.7f\t%10.7f\n",) \& C4 V  c0 C1 ?3 k2 X/ i

2 x8 V  }: U  S$ [. p
% v. c8 q. H3 ]$ P" W" ?snam, x2[0], x2[1], x2[2], x2[3]);
& E+ V' d$ X1 t8 R* D* E# o, K9 H7 u6 B# v, u" N7 b# J
}9 n  u! S; b9 J2 r3 l4 g9 j% r" _" @/ l' K

% b+ G# v$ J) K' Q) n* G}
0 N2 `6 p! q( Z% i. x- L
: |. C! A! h: O" z0 \+ |* treturn OK;" l  |4 N9 U+ c$ J5 g5 p
}
 楼主| 发表于 2011-2-7 01:43:24 | 显示全部楼层
运用在MT4上的Astro很多
 楼主| 发表于 2011-2-7 02:01:44 | 显示全部楼层
MT4上显示的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-7 02:57:02 | 显示全部楼层
MT4 Astrology Indicator.已解决。棉花日线和30分钟的胶

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-7 03:10:58 | 显示全部楼层
5分钟的糖

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
发表于 2011-2-7 21:30:51 | 显示全部楼层
发表于 2011-2-7 21:46:46 | 显示全部楼层
除了楼主说的几个似乎还有DT、FTGT、MTP
 楼主| 发表于 2011-2-7 22:57:08 | 显示全部楼层
这几个软件也可以发发
 楼主| 发表于 2011-2-7 23:01:59 | 显示全部楼层
DT6的。日线铜

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-7 23:07:41 | 显示全部楼层
节后第一个交易日,5分钟的猜测图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
发表于 2011-2-8 01:35:33 | 显示全部楼层
发表于 2011-2-8 17:09:39 | 显示全部楼层
Cycle-Timer
7 ?6 @& x7 H  ZWave59
( K7 A- y) W* J6 k/ yMarket Analyst 67 H4 `& S4 u; A; d- P7 I/ L
三颗明珠啊。。
发表于 2011-2-8 20:15:16 | 显示全部楼层
 楼主| 发表于 2011-2-10 22:17:37 | 显示全部楼层
MurreyMath

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
发表于 2011-2-10 22:25:42 | 显示全部楼层
 楼主| 发表于 2011-2-11 00:25:48 | 显示全部楼层
time

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-11 19:48:19 | 显示全部楼层
How to execute trade based on this system., ^: D1 n6 T+ j) i0 d

3 A8 _; Q0 |" T, u- }
To trade using this system in intraday you need to take the LTP of index or stock after 9:05 am in morning.
3 y0 t% S6 K- c! g( A& z! I
' y6 V8 [$ Z/ o4 b: rIdeally you should take the Weighted Average Price of any stock or scrip between 9:05 am - 9:15 am.& x7 H' ]5 `! |. _9 `" b

* y( ]7 q- q0 M  \However, after 9:30 am, you should only take LTP of stock or index.
/ |+ g! k! Z( H" S
1 E" ]* a; S8 I/ }0 z* T8 \Idea is in early few minutes there is lot of volatility in market, so to decide fair price we should take Weighted Average.: {9 k, Q7 D3 i

% u7 ~$ Q; Z4 R( w, p  {Many s it is not possible for many to start trading from 9:00 am. In that case, those who start trading after 9:30 am, can take LTP.; k) N# x1 c/ {9 Y0 q9 y2 ~
( _% y  ~5 K  v( K- c/ }4 J' u
Now lets say you get the price as 5152.- w' v+ d) K! h3 s5 k

* t! R0 J' B" X$ C5 a. K* QYou enter the price in Gann Calculator
3 c+ L5 X8 D* Q, s3 H* `+ E' {0 [1 g1 I9 o& Y+ b5 y
You will get the square that looks like below

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-11 19:49:19 | 显示全部楼层
5152 falls between 5166 and 5148.
' A: E8 p& x7 r, l/ m& Z: _4 |5 C+ c! @* u
So we should buy above 5166 and sell below 5148.( u! v$ F; P- G9 v3 |; W( V
+ u- T: N* o  d) d
Targets are next levels in the calculator.1 V- A- h1 ^& y# X/ y* |9 X

. b1 q1 l8 e% b! mHope this is clear.
) n5 \& W- m  f8 I4 ]* z4 w- |- |2 n( o9 W/ |1 Y9 d
Now lets say 1st target is achieved.(5181)
3 s% Y- _' ]$ r* S6 {Then we we watch whether price is able to sustain above 5181 for more than 5 min.
8 F! B- D* E+ C- ?  ~' o2 [7 W& O3 v& |0 w
If it sustains, we continue our long position. If not, we square off.
 楼主| 发表于 2011-2-11 19:59:43 | 显示全部楼层
今天糖是开盘7531 ,高是7570,低是7525。开盘数字添加。如图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-11 20:00:34 | 显示全部楼层
江恩的东西,就是猜着玩。
 楼主| 发表于 2011-2-14 20:23:12 | 显示全部楼层
棉花日线的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
 楼主| 发表于 2011-2-19 18:03:29 | 显示全部楼层
糖的分析

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?手机注册

×
发表于 2011-2-19 23:41:27 | 显示全部楼层

2 A5 ~" ^7 @0 V! [方便用cycle r 给个上证指数和豆油,豆粕的日线走势图?
发表于 2011-2-20 02:01:20 | 显示全部楼层
发表于 2011-2-21 11:04:36 | 显示全部楼层
谢谢分享!!!!!!!!!!!!!!!!
发表于 2011-2-21 22:56:09 | 显示全部楼层
楼主哪里搞到这么多的外软啊!!!太震撼了。
您需要登录后才可以回帖 登录 | 手机注册

本版积分规则

QQ|Archiver|手机版|小黑屋|【阳光飞狐】 ( 网站ICP编号:京ICP备06013475号-7 )

GMT+8, 2026-12-6 09:12 , Processed in 0.033010 second(s), 17 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2026 Discuz! Team.

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