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.
Anyone else using Amibroker with US intraday data, I am just wondering how does Amibroker handle daylight savings.
According to this post
http://www.purebytes.com/archives/amibroker/2009/msg03538.html
, esignal uses UTC, so us going through DST should not affect it. But when the US goes through DST, it will affect us because their time relative to the UTC will shift.
Has anyone been able to find a code for "range candlesticks" for AB? It's a very nice style of chart when combined with H/A display.
All I could find was this: http://www.purebytes.com/archives/amibroker/2006/msg08813.html
Hi
Can someone please help me to write some code to say the following in Amibroker.
Todays close closed below yesterdays close and closed in the bottom half of the candle.
If thats not possible then something to say the the bar was a trending bar (Opening NEAR one end and closing Near the other and the range is at least 0.5%. (open to close)
This may not be possible because I cant find anything like it. Im trying to distinguish between a trending candle and a doji.
Is any of this possible?
Thanks
Condition1 = C < Ref(C , -1); // todays close is less than yesterday's close
Condition2 = C < (H + L)/2; //close is lower than the middle of the bar
art27_condition = Condition1 AND Condition2;
"Closed lower than yesterdays low by 0.5%"
yl = Ref(L ,-1); //yesterday's low
exit = C < yl - (yl * 0.005); //close is 0.5% lower than yesterday's close
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?