- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ c_c_lai
³Í°òÃÒ劵ªº¤j¤T¤¸,¤é²±ªºHTS¥\¯à«D±`±j¤j,¸Ì±¥i¥H¦Û¤v³]©w¶,±,¤]¥i¥H¦Û¤v ...
minyow µoªí©ó 2012-11-20 13:13
HTS ¬OÁú°ê¤H¼gªºªÑ¥«³nÅé(µ{¦¡»y¨¥)¡A¥¦¸ò TradeStation ªº Easy Language¡A
¥H¤Î³Í½Ã MultiChart ªº Power Language ¥\¯à¬Û¦ü¡A»yªk«D±`¦a±µªñ¡A
Á|Ó¨Ò¤l¨Ó»¡©ú¡A©p´N·|ÁA¸Ñ¤F¡G
HTS »yªk¡G- /* Moving Average Convergence & Divergence */
- Parameter: FastMA(12), SlowMA(26), MacdMA(9)
- Value1 = MACD(Close, FastMA, SlowMA)
- Value2 = EMA( Value1, MacdMA)
- DrawBase1(0, "0", DarkGray)
- Draw3( Value1 - Value2, "MADiff", Iff(Value1-Value2>Value1[1]-Value2[1], Red, Green), Default,5)
- Draw2( Value2, "MACDAvg", Blue)
- //Draw1( Value1, "MACD", Iff(Value1>Value2,Red,Blue), Default, 1)
- Draw1( Value1, "MACD", Red, Default, 1)
½Æ»s¥N½X Easy Language (EL) ©Î Power Language (PL) »yªk¡G- { ******************************************************
- Type: Indicator Name: MA CD
- Moving Average Convergence & Divergence
- ****************************************************** }
- Inputs: FastMA(12), SlowMA(26), MacdMA(9) ;
- Value1 = MACD( Close, FastMA, SlowMA ) ;
- Value2 = EMA( Value1, MacdMA ) ;
- Plot4( 0, "0", DarkGray ) ;
- Plot3( Value1 - Value2, "MADiff", Iff( Value1 - Value2 > Value1[1] - Value2[1], Red, Green ), Default, 5 ) ;
- Plot2( Value2, "MACDAvg", Blue ) ;
- // Plot1( Value1, "MACD", Iff( Value1 > Value2, Red, Blue ), Default, 1 ) ;
- Plot1( Value1, "MACD", Red, Default, 1 ) ;
½Æ»s¥N½X |
|