Look at the FLIP command to maintain your initial setup condition, then use AND H>Triggerpoint.
Once triggered, use FLIP again to reset. ----- Original Message ----- From: "bernardedmond01" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, June 14, 2007 4:54 PM Subject: [amibroker] Buysignal + wait > Hi all > How do I say the code in square brackets: > > Triggerpoint = HHV(H,3) + 0.01; > Longsetup = xxx; > Buy=Ref(Longsetup,-1) = = 1 [and wait until H>Triggerpoint]; > > that is, the Lonsetup occurred on the previous bar but I don't enter > until the high>Triggerpoint (which may be on the same or a later bar)? > > Thanks > > > > > 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups Links > > >
