[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Change DoubleTops to DoubleBottoms



PureBytes Links

Trading Reference Links

Hello,

It is relatively easy:

Shares = 500;
PositionSize = Shares * BuyPrice;
StopPointAmount = 1000 / Shares;

ApplyStop(stopTypeLoss,stopModePoint, StopPointAmount );

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "cby" <cby1@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, August 29, 2004 10:48 PM
Subject: [amibroker] "Dollar Stop" in AB?


> 
> Hello.
> 
> How would I go about implementing a dollar stop, a la Larry Williams 
> and others (let's say close if loss in an open trade exceeds $1000)? 
> Doesn't seem to be supported by ApplyStop. The answer from support 
> was:
> 
> > > > Hello,
> > > >
> > > > You can code it with use of ApplyStop() funtion:
> > > >
> > > > ApplyStop(stopTypeLoss,stopModePoint,1000);
> > > >
> > > > You can also set it up in:
> > > > Analysis -> Automatic Analysis -> Settings -> Stops (tab)
> > > > (Maximum Loss Stop, point, enter 1000 in the field)
> > > >
> > > > See:
> > > > http://www.amibroker.com/guide/afl/afl_view.php?applystop
> 
> I don't think this is what I want - doesn't this mean the stop is 
> activated after the stock drops 1000 *points*? That seems to be how 
> StopModePoint works. So on a 500 share trade, that's a loss of 500K. 
> 
> Now I could do it in conjunction with position size, (set Point stop 
> at 2 for 500 shares), but I want to be able to do it independently of 
> position size right now.
> 
> Thoughts?
> 
> Thanks,
> Chris
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/