PureBytes Links
Trading Reference Links
|
I'd suggest you look at the AB library. I see a number of hits searching for Doji.
http://www.amibroker.com/library/list.php
--- In amibroker@xxxxxxxxxxxxxxx, "Sandeep Chadha" <schadha01@xxx> wrote:
>
> Hi everyone,
>
>
>
> I am absolutely new to Amibroker and to this forum and would like to know
> the basic code for identifying a "going-long" Doji (or almost a Doji) and
> then selling at 0.5% (parameterized and optimized later) profit
>
>
>
> Assumes that the length of the Doji has to be atleast .25% of the close) and
> the body is very-very small. 0 body length is obviously preferential but
> then it occurs very rarely. Buy at the opening of the bar that comes just
> after the doji formation.
>
>
>
> Can someone help me correct this code -
>
>
>
> Thanks
>
>
>
> ****************************************************************************
> ***********************************************************************
>
> Buy = Ref(H,-1)- Ref(L,-1)>(0.0025*Ref(C,-1)) AND abs (Ref(C,-1) -
> Ref(O,-1))<(0.0005* Ref(C,-1)) AND Ref(H,-1) - Ref(C,-1)<(0.0005*Ref(C,-1));
>
> BuyPrice = O;
>
> Sell = ???;
>
> SellPrice = BuyPrice*1.005;
>
> ****************************************************************************
> ***********************************************************************
>
------------------------------------
**** 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/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|