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

Re: [amibroker] Re: How to code - "Using stops as cover/sell"?



PureBytes Links

Trading Reference Links

Sorry, I donıt understand what youıre looking for. The built-in stops use
various values for Sell/Cover. For example and N-bar stop is assigned a
value of 5 and Amibroker will report a Sell = 5 as an N-bar exit. You can
also use your own values > 5 to mark whatever you wish and recognize them
with more AFL code. However, if you use ExRem, all the values higher than 1
are converted back to 1ıs so you lose the indication. If this is what you
want I guess youıd have to write your own ExRem code.
-- 
Terry


From: "quexos0" <quexos0@xxxxxxxxxxxx>
Reply-To: amibroker@xxxxxxxxxxxxxxx
Date: Thu, 07 Oct 2004 13:15:24 -0000
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to code - "Using stops as cover/sell"?


Thanks Terry but that is for a "stop and reverse system" thats
always in the market. Like an MA cross system.

What I need to know is how to make amibroker recognize my stops as
exit and filter out all excess buy/sell signals when i already have
a position.

--- In amibroker@xxxxxxxxxxxxxxx, Terry <MagicTH@xxxx> wrote:
> Short = Sell;
> Cover = Buy;
> -- 
> Terry
> 
> 
> From: "quexos0" <quexos0@xxxx>
> Reply-To: amibroker@xxxxxxxxxxxxxxx
> Date: Wed, 06 Oct 2004 17:22:12 -0000
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] How to code - "Using stops as cover/sell"?
> 
> 
> From reading of help files and AFL reference, I know we can code:
> 
> cover = 0;
> sell = 0;
> 
> And use "ApplyStop" function so the stoplosses or takeprofitstops
> are taken as exit.
> 
> I also know that this line of code:
> 
> Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
> Short=ExRem(Short,Cover);Cover=ExRem(Cover,Short);
> 
> Removes excessive signals.
> 
> But, how do I code it so that the ExRem codes recognises the stops
> as cover/sell?
> 
> Is there is way to code something like "Cover = Applystop" etc so
we
> can associate the stops as our cover/sell function?
> 
> Thanks in advance!
> 
> 
> 
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
> Yahoo! Groups Sponsor
>  
>  ADVERTISEMENT
>  
<http://us.ard.yahoo.com/SIG=129j1jjjo/M=295196.4901138.6071305.30011
76/D=g
> 
roups/S=1705632198:HM/EXP=1097169781/A=2128215/R=0/SIG=10se96mf6/*htt
p://com
> panion.yahoo.com>
> 
> 
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
> *  
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .
> 
> 
> 
> 
> [Non-text portions of this message have been removed]





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

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Yahoo! Groups Sponsor
 
 ADVERTISEMENT
 <http://us.ard.yahoo.com/SIG=1293udde7/M=294855.5468653.6549235.3001176/D=g
roups/S=1705632198:HM/EXP=1097241329/A=2376776/R=0/SIG=11ldm1jvc/*http://pro
motions.yahoo.com/ydomains2004/index.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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
*  
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



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