- Joined
- 1 November 2009
- Posts
- 424
- Reactions
- 67
Can anyone tell me how to enter ASX stock symbols into Amibroker while using Interactive Brokers data? Eg. WBS-ASX-STK??? obviously not as that doesn't work, but it should be something like that.
Cheers,
CanOz
BHP-ASX-STK-AUD
CLQ1-NYMEX-FUT-USD
Have to added currency at the end
In Amibroker Help do a search for "Symbology"
Is there any way to compress a chart so that all the historical data can be seen at once?
Is there any way to compress a chart so that all the historical data can be seen at once?
You can go to 'View' - 'Zoom' - 'All'. There is no shortcut key for this by default, but if you want to you can assign pretty much any function to a shortcut key of your choosing. Go to 'Tools' - 'Customize' - then click the 'Keyboard' tab.
Alternatively you can hold ctrl while scrolling your mouse wheel. Although for some reason that won't zoom you out far enough to see all the available data.
G'day all
I am reasonably new to Amibroker and have a minor issue I can't seem to fix.
Attached (hopefully) is a chart which has a pale blue liear regression line drawn over approximately the last 21 bars. Problem is I don't think I put it there - if I did it was a mistake. How do I remove it ?
PositionSize = -5;
index = "^AORD";
if ("^AORD" == Close > MA (Close, 200))
{
Buy = Close > MA(Close, 60);
}
Sell = Close < MA (Close , 60 );
I am trying to apply an index filter, but can't seem to get it right. In this case I am simply buying/selling when a stock crosses its 60MA, but I don't want it to generate a Buy unless ^AORD closed above its 200MA.
Also, do I include the ^AORD ticker in the same ticker list as the stocks I am testing? Or do I keep it separate somehow as I am not actually buying/selling the index?Code:PositionSize = -5; index = "^AORD"; if ("^AORD" == Close > MA (Close, 200)) { Buy = Close > MA(Close, 60); } Sell = Close < MA (Close , 60 );
SetForeign( "^AORD",True,True );
Buyfilter = Close >MA( C, 200 );
RestorePriceArrays(True);
Buy = C > MA(C,60) AND Buyfilter;
I have the foreign referenced ticker symbol in the database being referenced. For example I have ^AORD & ^GSPC as ticker symbols in my All Ords stock list.Also, do I include the ^AORD ticker in the same ticker list as the stocks I am testing? Or do I keep it separate somehow as I am not actually buying/selling the index?
I have the foreign referenced ticker symbol in the database being referenced. For example I have ^AORD & ^GSPC as ticker symbols in my All Ords stock list.
If you don't have the ^AORD symbol data in your database the backtest won't return any trades.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?