Nhận viết script phát hiện tín hiệu mua bán trên amibroker.

Nhận viết script phát hiện tín hiệu mua bán trên amibroker.

Nhận viết script phát hiện tín hiệu mua bán trên amibroker.

tungt84

Active Member
38
2
Sau khi làm chương trình datafeeder
https://traderviet.org/threads/data...-du-lieu-tu-cac-san-theo-thoi-gian-thuc.9446/
giúp lấy dữ liệu từ các sàn theo thời gian thực. Anh bạn của mình nói mình có thể viết giúp script để phát hiện tín hiệu mua bán ngay trên amibroker đã tích hợp datafeeder.
Như vậy datafeeder lấy dữ liệu real time, cộng thêm phân tích tín hiệu mua bán thì rất tốt.

Vì vậy nếu bạn nào có nhu cầu viết script để phát hiện tín hiệu mua bán trên amibroker thì liên hệ mình.
Skype: myname74119
Email: [email protected]

Thanks cả nhà.
 

Giới thiệu sách Trading hay
Các Phương Pháp Price Action Kinh Điển

Bộ sách tổng hợp các phương pháp Price Action truyền thống và hiện đại, với các hướng dẫn cụ thể và dễ áp dụng cho nhà giao dịch
Short = Cover = 0;
Qty = 6;
SetTradeDelays( 0, 0, 0, 0 );
SetOption( "AllowSameBarExit", True );
SetOption( "maxopenpositions", Qty );
GapAmount = Param( "Gap (%)", 1.5, 0, 3, 0.01 );
BuyPrice = ( 1 - GapAmount / 100 ) * Ref( L, -1 );
BuyPrice = Min( O, BuyPrice ); // Enter immediately at Open if below BuyPrice
Buy = L < BuyPrice AND Ref( MA( V, 10 ), -1 ) > 1000000;
SellPrice = C;
Sell = Buy;
// To test for ticker-sensitivity turn on Random Ticker Selection
// and run this code in the Optimizer to see how performance varies
// Because it is unknown which ticker will trigger first actual
// performance will be somewhere between the min/max profits shown
if ( ParamToggle( "Random Ticker Selection", "OFF|ON", 0 ) )
{
Optimize( "Dummy", 1, 1, 100, 1 );
PositionScore = mtRandom();
}
PositionSize = -100 / Qty;
Plot( C, "", 1, 128 );
if ( ParamToggle( "Arrows", "HIDE|SHOW", 0 ) )
{
Equity( 1 );
PlotShapes( IIf( Buy, shapeUpArrow, shapeNone ), colorGreen, 0, BuyPrice );
PlotShapes( IIf( Sell, shapeDownArrow, shapeNone ), colorRed, 0, SellPrice );
PlotShapes( IIf( Buy, shapeSmallCircle, shapeNone ), colorGreen, 0, BuyPrice, 0 );
PlotShapes( IIf( Sell, shapeSmallCircle, shapeNone ), colorRed, 0, SellPrice, 0 );
}
 
Buy = Cross( MACD(), Signal() );
BuyPrice = Open; // Substitute your own prices
Sell = Cross( Signal(), MACD() );
SellPrice = Close; // Substitute your own prices
PlotShapes( IIf( Buy, shapeSmallUpTriangle, shapeNone ), colorBrightGreen, 0, BuyPrice, 0 );
PlotShapes( IIf( Sell, shapeSmallDownTriangle, shapeNone ), colorRed, 0, SellPrice, 0 );
Plot( C, "", 1, 128 );
// Plot the Trade Lines
Sig = Buy OR Sell;
y0 = 0;
y1 = C[0];
TPrice = C;
FirstVisibleBar = Status( "FirstVisibleBar" );
Lastvisiblebar = Status( "LastVisibleBar" );
for ( b = Firstvisiblebar; b <= Lastvisiblebar AND b < BarCount; b++ )
{
if ( Buy )
{
Co = colorRed;
TPrice = BuyPrice;
}
if ( Sell )
{
Co = colorBrightGreen;
TPrice = SellPrice;
}
if ( Sig )
{
x0 = y0;
x1 = y1;
y0 = b;
y1 = TPrice;
Plot( LineArray( x0, x1, y0, y1 ), "", Co, 1 );
}
}
 

BÌNH LUẬN MỚI NHẤT

  • ngoi_sao_co_doc trong Phân tích Forex - Vàng - Hàng hóa 24,047 Xem / 83 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 341 Xem / 21 Trả lời
  • Mạc An trong Phân tích Forex - Vàng - Hàng hóa 1,379 Xem / 77 Trả lời
  • Quíc Óp trong Phân tích Forex - Vàng - Hàng hóa 252 Xem / 3 Trả lời
  • Berkeley trong Phân tích Forex - Vàng - Hàng hóa 113 Xem / 2 Trả lời
  • LuTienSinh trong Phân tích Forex - Vàng - Hàng hóa 146 Xem / 3 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 235 Xem / 9 Trả lời
  • AdBlock Detected

    We get it, advertisements are annoying!

    Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

    Back
    Bên trên