i'm tryng to let close intraday position some minutes before market close, and opening the day after only when a new signal's come.
here the code : x= HHV(TimeNum() ,500)-100; Tempo3=IIf(TimeNum()>=x,0,1); Buy=buycond; Sell=sellcond; Short=shortcond; Cover=covercond; // CLOSE AT END OF MARKET TIME Cover=TimeNum() > x; Sell=TimeNum() > x; //is working but after backtest i got double arrows Now the problem is when the day openi is taking a new trade thinking that the signal of the last day is still good and is buyng at the minimum of the candles or selling from the top .. How i can say to enter only when a new signal is done ... ?? ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
