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
Thread cover
public/socialthumb.png
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 Bại Thị Trường Forex - Tư duy khác biệt và các kỹ thuật giao dịch của chuyên gia quản lý quỹ triệu đô

Sách chia sẻ kiến thức và kinh nghiệm trading từ một chuyên gia quản lý quỹ, cùng các kỹ thuật giao dịch giúp quỹ này đứng trong top nhiều 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

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

Miễn trừ trách nhiệm

Tất cả nội dung trên website này đều vì mục đích cung cấp thông tin và không phải lời khuyên đầu tư.

Tại Việt Nam, giao dịch CFD forex có các rủi ro nhất định, trong đó bao gồm rủi ro về pháp lý. Độc giả nên tìm hiểu kỹ trước khi đưa ra quyết định tham gia.