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
Thấu hiểu Hành vi giá Thị trường Tài chính - Understanding Price Action

Là quyển sách hướng dẫn giao dịch Phương Pháp Price Action của Bob Volman, chỉ sử dụng duy nhất một đường MA và cấu trúc thị trường cùng hành vi giá để tìm kiếm lợi nhuận
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

  • Mạc An trong Phân tích Forex - Vàng - Hàng hóa 524 Xem / 27 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 286 Xem / 23 Trả lời
  • haruking trong Kiến thức Trading - Kinh nghiệm Trading 31,451 Xem / 112 Trả lời
  • captainfx trong Chuyện bên lề 509 Xem / 3 Trả lời
  • DuongHuy trong Phân tích Bitcoin - Altcoins - Cryptocurrency 68,884 Xem / 107 Trả lời
  • Tín Phong trong Phân tích Chứng khoán Việt Nam 85,339 Xem / 279 Trả lời
  • Quíc Óp trong Phân tích Forex - Vàng - Hàng hóa 190 Xem / 1 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 124 Xem / 2 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