ami broker formula

  1. B

    Need help to find highest value of an array...

    How do i find the highest value of an array or how do i find the highest value in a +ve supertrend , i tried using HHV & highest function but counldn't get the signals that i wanted...
  2. K

    Super Trend AFL

    Hello Friends, I have just started to learn AFL, basic Buy and Sell Backtest i can do with Indicators but i got stuck with Super Trend Indicator, can anyone help me in this regard, Buy Condition = Cross (Close, SuperTrend) Sell Condition = Target or SL In sell condition, i want if stock...
  3. F

    I am looking for MT4 (Nse) backfill (history data)

    dear trader friend i use mt4 for TA analysis, so i want mt4 nse (script backfill data (history data) for past years. if you have or have any source for this so please update me. thanks regards Sugata
  4. M

    sell cover end of trading session. need help

    Hello All, I have a problem with exit trade at EOD end of trading session 11:00 PM. I am trying the following code. tim=Param("Square off time ",230000,09000,240000); StopLevel = Param( "Stop Loss (%)", 0.06, 0.01, 10, 0.01 ); TgtLevel = Param( "Profit target (%)", 0.25, 0.01, 10, 0.01 )...
  5. M

    Error in message board. Please help

    _SECTION_BEGIN(" NMA VARIABLE SL AND PROFIT"); SetChartOptions(1,chartShowArrows|chartShowDates); RequestTimedRefresh( 1 ); GraphXSpace=5; HaClose = (O+H+L+C)/4; HaOpen = AMA( Ref( HaClose, -1 ), 0.8); HaHigh = Max( H, Max( HaClose, HaOpen ) ); HaLow = Min( L, Min( HaClose, HaOpen ) ); xDiff =...
  6. TheBigBull

    Why Always 1132 steps in Amibroker Walk Forward Optimization

    I have recently started using Amibroker for walk forward optimisation and created couple of trading systems like MA cross over, etc. Although i have used different optimisation parameters in different strategies but surprizingly in all the strategys during my walk forward optimisation it shows...
  7. jash_kd

    I have made a new Buy Sell signal system, Plz test it

    Hi Friends, I have made a Auto Buy Sell Trading Signal System in Amibroker. Plz test my ATS and let me know if it is ok or need improvement.
  8. A

    Afl coding for looping

    Can any one make it a loop in afl Ydh1= TimeFrameGetPrice( "o", inDaily,-1); Ydh2= TimeFrameGetPrice( "o", inDaily,-2); Ydh3= TimeFrameGetPrice( "o", inDaily,-3); Ydh4= TimeFrameGetPrice( "o", inDaily,-4); Ydh5= TimeFrameGetPrice( "o", inDaily,-5); Ydh6= TimeFrameGetPrice( "o"...
  9. L

    Friends, Please help me.

    Hi guys! can anybody help me? I want to write a module to explore stocks under cirtain conditions, A) IF PRICE OF STOCK IS IN THE RANGE OF RS.50.00 TO 250.00 1) buy = sma 5 - sma 25 > 2.00, (i.E. DIFFERENCE IN SMA SHOULD BE GREATER THAN 2.00) and sma 5 is crossing above the sma 25, 2)...
  10. I

    [Frustrated] Need help with AFL and analysis

    This is my formula (for testing and learning purpose only): _SECTION_BEGIN("Price"); SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ))...
  11. A

    Help building an AFL

    :clap:Hi all I'm in need of help creating an AFL with the below requites: LTP above EMA 34 and cross ABOVE EMA 8 then Buy signal LTP above EMA 34 and cross BELOW EMA 8 then CLOSE BUY POSITION LTP BELOW EMA 34 and cross BELOW EMA 8 then Sell signal LTP ELOW EMA 34 and cross above EMA...
  12. A

    Thee Best AFL's for Commodities

    All With the internet filled with millions of AFL's, a few are doing really great, however this is a needle in a haystack. Hard to find and consumes lights years to find the right ones. This thread is for people to share thier good/bad experience with the AFL's that we have come across...
  13. Debarghya Mukherjee

    AFL writing guide for new user

    Hello Friends, I started this thread because I did lot of googling but I have not yet found any good site that helps "How to write AFL". I know there is a site contains AFL Library but it is not sufficient. I have a computer background, so I understand how the process goes, I can write very...
  14. P

    i want this chart's afl ... help me pls NIRMALA_5I

    i want this chart's afl ... help me pls NIRMALA_5I
  15. V

    AFL for NSE/BSE/Forex Trading System. ( I can Help to code AFL)

    hello, I have got better working hand on AFL. If any body want help to develop the trading system for NSE/BSE/Forex, using ami broker......:) i will try to develop for you. if any body have Problem with you AFL and need help to fix or to upgrade or optimized it i will try to help you...
  16. N

    How to define Max loss stop and Trailing Stops into AFL

    Hi I am new to Ami Broker. I am back testing various afls I got from the forum and other sources I want to add my own stoplosses and trailing stops to the system. Senior Programmers pls help me. Here are the conditions 1.The initial SL is 2% of the entry price. 2.As the position moves...
  17. S

    Meta Stock / Ami broker formula's

    Hi Every one, Is anybody having good collection/own wrriten formula's for metastock.ami broker, which will help others to get clear idea about buy/sell signal from this volatile market? Thanks in advance