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

Re: [amibroker] Plotting Applystop



PureBytes Links

Trading Reference Links

from Applystop in help files

Corey Saxe
csaxe@xxxxxxx
2003-03-01 23:33:13 For visual conformation of ApplyStop function, add
the following lines below your ApplyStop formula in Indicator Builder:

Equity(1); // THIS EVALUATES STOPS

Plot(Sell==4,"ApplyStop Sell",colorRed,1|styleOwnScale);
Plot(Cover==4,"ApplyStop Cover",colorGreen,1|styleOwnScale); 

On Apr 10, 2005 5:45 PM, Herman van den Bergen <psytek@xxxxxxxx> wrote:
> 
> It won't work:
>  
>  
> SYNTAX 
>  
>  
> ApplyStop( type, mode, amount, exitatstop, volatile = False, ReEntryDelay =
> 0 ) 
> RETURNS
> nothing 
> -----Original Message-----
> From: Andrew Z [mailto:wizard@xxxxxxxxxxxxxxx]
> Sent: Sunday, April 10, 2005 5:33 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Plotting Applystop
> 
> Hey all,
> 
> I can setup a condition as my stop loss and plot if fine. But, I can't 
> seem to plot an ApplyStop condition.
> 
> For example:
> 
> TrailStop = HHV( C - 2 * ATR(10), 15 );
> Plot( TrailStop, "Trailing stop", colorBrown, styleThick | styleLine  );
> 
> This plots fine, but this:
> 
> ApplyStop(stopTypeLoss, stopModePercent, 7);
> Plot(ApplyStop(stopTypeLoss, stopModePercent, 7),"Stop Loss", 
> colorGreen, styleDots);
> 
> only plots dots at a value of 1. I know the above code is not neat, but 
> I'm more concerned with functionality at the moment :-)
> 
> Can this be done?
> 
> Thanks,
> Andrew.
> 
> 
> 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
> 
> 
> 
> 
> 
> 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 the Yahoo! Terms of Service. 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/