Hello, i need some help for a simple Donchian System. Timeframe 5 minutes.
Donchian: pds=12; DonchianUpper =HHV(Ref(H,-1),pds); DonchianLower = LLV(Ref(L,-1),pds); Sense is to buy new hours highs/lows when they get confirmed. Buy the new hour high, when the highs of the next 3 bars is higher then the new hour high. e.g DJ 12 barshigh (5 Minuetbars x 12 = 1 Hour)on 10:55 am is 11.000. On 11:00 am we have a new high on 11.010. Now our stopbuy order for the next 3 bars (15 Minuts) is 11.011. How can i code this in AFL? Thx for the help and sorry for the bad english. I hope that you can understand me Best regards 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/