(I don't understand what the purpose of the 10bar to 200 bar parameter is ? ...Below partial code...)
Percentage = Param("Percentage", 0.5, 0.5, 5, 0.1);
n_bars = Param("Bars", 10,200,10);
ThirdBreakPointPrice = ValueWhen(Cum (Cross (High, Study("DN", GetChartID()))) == 3, High , 1);
Buy = Close > (1 + Percentage / 100.0) * ThirdBreakPointPrice;
Sell = 0 ; // ???
Buy = ExRem(Buy,Sell);
BuyArrow = IIf(Buy, shapeUpArrow,shapeNone);
PlotShapes(BuyArrow, colorGreen, 0,L);
From: nifty46 <nifty46@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, March 14, 2009 9:57:29 PM
Subject: [amibroker] help to convert this into AFL
any FRIEND please help to convert this logic into AFL:- buy & plot = close(CURRENT MARKET PRICE) is just above...(param field PRICE in parameter,0. 5% to 5%), from the third point of tuching a downtrend (lower low) trend line in a ...(param field in parameter 10bar to 200 bar) as needed we set in parameters, THAX IN ADVANCED with regards nifty46@x A H O O .C O M