- Joined
- 22 October 2014
- Posts
- 15
- Reactions
- 0
I use Premium Data and sometimes when I run an exploration for n last quotation (1) the present day quotation doesn't appear. The day before quote appears but the chart displays the present day quotations from my EOD Final download. I have tried running the maintenance tool but no diff.
Anyone have this issue?
That is it thank you. The pad & align symbol did not have the most recent quote.No, check your code or upload a reproducible example. Or perhaps you have pad&align enabled and reference symbol has missing last quote.
e.g. Don't sell price is higher than the price bought?
Someone can help you but you have to be more accurate with the orders you want. Supply all of the buy and sell criteria and it can be done for you to get you started.What about mixing that with another system.
e.g. Sell: Open is less than movingAverage AND Open is greater than buyprice.
Something kinda opposite to applystop. Don't stop until conditions are met.
What about mixing that with another system.
e.g. Sell: Open is less than movingAverage AND Open is greater than buyprice.
Something kinda opposite to applystop. Don't stop until conditions are met.
Anyone know how to determine the daily high of an instrument and then figure out when it occurred (date/time)?
HHV function just gives me the highest value.
I use TimeFrameGetPrice( "H", inDaily, 0 ) to get the daily high, but I have no clue how to extract when that occurred.
Any help is appreciated.
Dh = TimeFrameGetPrice( "H", inDaily, 0 );
Filter = H == DH;
AddColumn( DH, "Day_High", 1.4, colorGreen, colorDefault, 80 );
Anyone know how to determine the daily high of an instrument and then figure out when it occurred (date/time)?
HHV function just gives me the highest value.
I use TimeFrameGetPrice( "H", inDaily, 0 ) to get the daily high, but I have no clue how to extract when that occurred.
Any help is appreciated.
Hi Waterbottle --
See if the ValueWhen function is what you are looking for.
http://www.amibroker.com/guide/afl/valuewhen.html
Best,
Howard
Filter=1;
AddColumn(O,"Open", 1.6);
AddColumn(H,"High", 1.6);
AddColumn(L,"Low", 1.6);
AddColumn(C,"Close", 1.6);
/*AddColumn(V,"Volume",1.0);
AddColumn(OI,"Open Interest",1.0); */
AddColumn(TimeFrameGetPrice("H",inDaily,0), "HHV", 1.6);
AddColumn(ValueWhen(TimeFrameGetPrice("H",inDaily,0)==H, DateTime()), "Date/Time", formatDateTime);
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?