PureBytes Links
Trading Reference Links
|
I am trying to figure out how to work this logic into my code... the
specific line is:
AND HHV(High,9)<HHV(Close,9)...
This looks correct, but it does not work. Any ideas anyone? THANKS!!!
~Brian
// Set variables here
varTDSCompare = C; // default C, may also use H, L, O
// End set variables
varTDSBuy = IIf(C<Ref(varTDSCompare,-4)
AND Ref(varTDSCompare,-1)<Ref(varTDSCompare,-5)
AND Ref(varTDSCompare,-2)<Ref(varTDSCompare,-6)
AND Ref(varTDSCompare,-3)<Ref(varTDSCompare,-7)
AND Ref(varTDSCompare,-4)<Ref(varTDSCompare,-8)
AND Ref(varTDSCompare,-5)<Ref(varTDSCompare,-9)
AND Ref(varTDSCompare,-6)<Ref(varTDSCompare,-10)
AND Ref(varTDSCompare,-7)<Ref(varTDSCompare,-11)
AND Ref(varTDSCompare,-8)<Ref(varTDSCompare,-12)
AND Ref(varTDSCompare,-9)>=Ref(varTDSCompare,-13)
AND L<Ref(L,-5)
AND HHV(High,9)<HHV(Close,9), 1,0);
Plot(Close, "Close",1,64);
IIf(varTDSBuy>0,PlotShapes(shapeUpArrow*varTDSBuy,colorGreen),0);
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/
|