PureBytes Links
Trading Reference Links
|
Hello Giuseppe,
Not sure if the others have answered your question, but this is part
of what I use:
Buy=conditions..
short=conditions...
profit= 0.0014;//this the amount of profit
Loss=0.0011;//this is the amount of loss
ApplyStop(1,2,profit,1);//profit target
ApplyStop(0,2,Loss,1);//stop loss
This then either gives you 14 pips of profit or 11 pips of loss from
you entry point.
If you like, you can set different profit and loss points depending
on whether you are short or long.
SETTINGS PAGE:
General tab: check the four boxes
stop tab: disable all here
Remember Amibroker needs the price to be there in the data otherwise
it will take the next price which is available. This then means you
may obtain more profit or more loss than you expected (i.e. the
market 'gapped').
Regards
Sam
--- In amibroker@xxxxxxxxxxxxxxx, "ami_trader" <ami_trader@xxxx>
wrote:
>
> Is it possible to exit exactly at stop loss price?
>
> ApplyStop( stopTypeLoss, stopModePoint, 0.0014, 0, 0, 0);
>
> Exit exactly at stop loss value (Entry Price - 0.0014)
>
>
> Thanks in advance
>
>
> ---
> Giuseppe
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|