Create slideshow in Amibroker

Đã hoàn thành Đã đăng vào 2 năm trước Thanh toán khi bàn giao
Đã hoàn thành Thanh toán khi bàn giao

I am trying to use a TradingView plugin for Amibroker. I want to use the Amibroker scanner on a watchlist of tickers but the TradingView plugin doesn't keep the tickers refreshed unless they are actively displayed on a window. The SetForeign function shows the ticker but doesn't cause a refresh. If i use the following ParamTrigger code I can trigger the ticker to refresh but it is a manual refresh so I am looking for a way to flip through that watchlist to trigger the refresh.

if( ParamTrigger( "Update Ticker", "Yes" ))

{

Ab = CreateObject( "[login to view URL]" );

Chart = [login to view URL];

[login to view URL] = Ticker;

}

I am looking to create an AFL that can create a slideshow in Amibroker - switch and actively display tickers from a watchlist in a specific chart.

I am currently using the following AFL but need to find a way to do it without using the SetForeign function because I need to have the symbol actively display. Perhaps using AmiBroker's OLE Automation Object Model I mentioned before?

_SECTION_BEGIN("Slideshow of stock charts");

// Slideshow of stock charts

// the old Yahoo! forum email 23-01-2007 by herman

/// @link [login to view URL]

RefreshRate = Param("Chart Update rate (seconds)",3,0,60,1);

RequestTimedRefresh( RefreshRate,False );

TimerTick = Status("RedrawAction");

WLNum = Param("WatchList Number",0,0,64,1);

MaxTickerNum = Param("Max. Ticker Number",200,1,200,1);

List = CategoryGetSymbols( categoryWatchlist, WLNum );

TickerNum = StaticVarGet("TickerNumber");

if( IsNull( TickerNum ) ) StaticVarSet("TickerNumber", 0);

Ticker = StrExtract( List, Tickernum);

SetForeign(Ticker,1);

if( TimerTick )

{

TickerNum = StaticVarGet("TickerNumber");

if( TickerNum <= MaxTickerNum ) StaticVarSet("TickerNumber",++TickerNum);

else StaticVarSet("TickerNumber", 0);

}

Plot(c,"",1,64);

Title = FullName()+"\n#"+NumToStr( TickerNum,1.0,False) +" "+Ticker;

_SECTION_END();

Amibroker Formula Language

ID dự án: #31019345

Về dự án

1 đề xuất Dự án từ xa 2 năm trước đang mở

Được trao cho:

ameheta

I have already done this slideshow. I am working with Amibroker Software Since 2013 TO Till Date Data Service For Amibroker OR CSV Format(IEOD Data) Only Indian Market I can setup or Provide 1min Equity(From 2011), 1 Thêm

$30 CAD trong 7 ngày
(2 Đánh Giá)
2.3