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

[amibroker] Re: newbie


  • Date: Thu, 11 Mar 2010 13:33:43 -0000
  • From: "nunopires2001" <nunopires2001@xxxxxxxxx>
  • Subject: [amibroker] Re: newbie

PureBytes Links

Trading Reference Links

What is your question?
You don't have any stop condition on your code.

--- In amibroker@xxxxxxxxxxxxxxx, "fcampuzan" <fcampuzan@xxx> wrote:
>
> Hello to everybody,
> 
> I am a newbie and have a question relating to an amibroker code that gives absurd results. I hope i post this message in the good section.The problem comes when I had the volatily stop piece of code. Here is the "complete" code:
> 
> Buy = 	Close > 15
> 	AND Close > Ref( HHV(  Close , 250 ) , -1 )
> 	AND Volume > 100000;
> 
> Sell = 	Close < MA(  Close , 100 );
> 
> PositionSize = -1.5 * BuyPrice/(2*ATR(20));
> 
> 
> PositionSize = -2 * BuyPrice/(2*ATR(10));
> 
> Thanks for your answers.
> 
> Florian
> 
> France
>




------------------------------------

**** 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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/