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

RE: [amibroker] Difference Open - Close as indicator ATTN Mark



PureBytes Links

Trading Reference Links

Reni,

 

Try the following. I assume your book is using daily range rather than
Welles Wilder's ATR and I note that you use the 'Continental' comma for the
decimal point in the last line of code.

 

OCRange10 = MA(C-O,10);

Range10 = MA(H-L,10);

RangeRatio = OCRange10/Range10;

Plot(RangeRatio,"RangeRatio",colorRed,1);

PlotShapes(IIf(RangeRatio > 0,5,shapeUpArrow,shapeNone),colorGreen);

 

Regards,


Gordon Sutherland

 

-----Original Message-----
From: renilange [mailto:reni.lange@xxxxxxxx] 
Sent: Wednesday, 17 November 2004 7:53 a.m.
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Difference Open - Close as indicator ATTN Mark

 


Mark,
thank you for your answer.

I write what I read in my book:
"this system (its a breakout system) will not trade unless it
determines that there is enough potential. It does this by calculing
the average range for the last 1o days and the average open to close
range for the last 10 days, then dividing the latter calculation by
the former.

If the quotient is < or = 0,5 ...no trade
if the quotient is > 0,5... you can enter the trade

Regards
Reni






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=129tcrrtb/M=298184.5584357.6650215.3001176/D=gr
oups/S=1705632198:HM/EXP=1100717635/A=2426682/R=0/SIG=11edksnhv/*http:/www.n
etflix.com/Default?mqso=60185402> click here


 
<http://us.adserver.yahoo.com/l?M=298184.5584357.6650215.3001176/D=groups/S=
:HM/A=2426682/rand=926487890> 

 

  _____  

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
<http://docs.yahoo.com/info/terms/>  Service. 



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