Hello,
Situation (1) does not happen in real life for any liquid stock..
If you are trying to create "system" that trades symbols that have just one trade per day
then it is recipe for disaster.
Trade liquid markets.
Best regards,
Tomasz Janeczko
amibroker.com
On 2016-06-24 15:17, rgearyiii@gmail.com [amibroker] wrote:
---In amibroker@yahoogroups.com, <groups@...> wrote :
> Hello,
>
> " I want alignment but not padding. "
>
> Nonsense.
>
> You can not align without fixing missing bars too.
>
> So alignment MEANS padding missing bars too.
OK, to re-phrase what I am seeking: I want alignment where the padded bars contain all nulls.
> You can detect missing bars easily:
>
> IsBarPaddedBecauseItWasMissing = IsEmpty( Close ) OR ( Volume == Ref( Volume, -1 ) AND Avg ==
> Ref(Avg, -1 ) );
How would this distinguish between a situation where
1) A stock had a single trade of 2.50 x 1,000 two days in row (O == 2.5, H == 2.5, L == 2.5, C == 2.5, V == 1000), and
2) A stock had a single trade of 2.50 x 1,1000 one day followed by no bar the next day, but the missing bar was padded?
--
Robbie Geary
__._,_.___
Posted by: Tomasz Janeczko <groups@amibroker.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (8) |
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon