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
Nhật Ký Giao Dịch Thực Chiến của Phù Thủy Thị trường Tài Chính

Sách chia sẻ 05 tháng giao dịch thực tế trên thị trường tài chính, sử dụng Price Action và Mô hình Biểu đồ của Phù thủy trader Peter Brandt, người có gần 50 năm kinh nghiệm trading và đạt lợi nhuận bình quân 68% lợi nhuận mỗi năm
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

  • khiconcon trong Trao Đổi về Broker 132 Xem / 6 Trả lời
  • Mạc An trong Phân tích Forex - Vàng - Hàng hóa 468 Xem / 18 Trả lời
  • Quíc Óp trong Phân tích Forex - Vàng - Hàng hóa 184 Xem / 6 Trả lời
  • UK LEE trong Phân tích Hàng hóa Phái sinh 124 Xem / 2 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 198 Xem / 4 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