|
本帖最後由 f29825604 於 14-5-7 13:23 編輯
mc訊號有箭頭了
//////////////////////
90901LE
買單進場
//////////////////////
inputs: Length1( 9 ),Length2( 20 );
variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ),var4( 0 ) ;
Value1 = Stochastic( H, L, C, Length1, 5, 5, 2, var0, var1, var2, var3 ) ;
var4 = Close / AverageFC( close, Length2 )*100 ;
//(var2- var3) is eleader-nvr;
//var4 is eleader-disparity;
Condition1 = (var2- var3)>0 and var4>100 ;
if condition1 then
buy ( "90901LE" ) next bar at market
////////////////////////////
90901LX
買單出場
///////////////////////////
inputs: Length1( 9 ),Length2( 20 );
variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ),var4( 0 ) ;
Value1 = Stochastic( H, L, C, Length1, 5, 5, 2, var0, var1, var2, var3 ) ;
var4 = Close / AverageFC( close, Length2 )*100 ;
//(var2- var3) is eleader-nvr;
//var4 is eleader-disparity;
Condition1 = (var2- var3)<0 and var4<100 ;
if condition1 then
sell ( "90901LX" ) next bar at market
/////////////////////
僅供參考!!!
ps
90901LE(mc買單進場訊號)
90901LX(mc買單出場訊號)
編譯成mc訊號
兩個一組同時使用
謝謝 |
|