amibroker afl

  1. 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...
  2. S

    Need help in AFL coding for strategy

    Hi, Can anyone please code the below strategy as I am begineer and learning AFL so not familier now. Logic: On starting Mark 30min 2nd candle high & low Buy Logic: If price break above 30min 2nd candle the Buy signal comes Targets (T1, T2, T3) = Set from parameter setting Manual in % from...
  3. M

    staticVarGenerateRank not working properly in Live Trading

    I want to replicate the function of positionScore function for live trading via scanner. I want to get only top 5 signals at every candle start. All my buy conditions are based on last candle close. I have a list of 50 symbols. My AFL scans this list and shows top 5 symbols based on their ADX...
  4. B

    Buy Signal condition check afl

    Hi I'm stuck in one of the issue to resolve fake signal. My requirement is when buy condition meet true first time then our code should check buy condition again in 3-4 time within 2-3 second, when last check (4th time) is true, then buy signal plot or generate. I don't want to use these...
  5. B

    Buy/Sell Signal Repainted

    Hi Below is code, When condition meet at current candel, it will not genrating any signal but when current candel is closed & open new candel then it give buy signal to the previous candel But i want signal on current candel when condition meet, can anyone help me...
  6. C

    I'm not able to make explorer for with multiple time frame screaner

    SetChartBkColor(ParamColor("Panel Color",colorBlack)); SetChartBkGradientFill(ParamColor("Upper Chart",colorBlack),ParamColor("Lower Chart",colorBlack)); periods = Param( "Periods", 14, 1, 200, 1 );//8 Ksmooth = Param( "%K avg", 3, 1, 200, 1 );//3 Dsmooth = Param( "%D...
  7. M

    Need Help code Amibroker - Buy lowest close last 2 days

    hey guys. could someone pls post the code for the strategy: - buy the lowest of last 2 days. after that, - sell the highest of the last 2 days like the picture attached thanks a lot
  8. K

    Find High of first 15min candle

    Hello Everyone, I want to find high of the first 15 min candle. I am using the below code. bi = BarIndex(); arrayitem = SelectedValue(bi) -bi[0]; firstbarHigh = High[arrayitem ]; This code is giving me the close price for the 1st candle. I want High price of the first 15min candle. Plz...
  9. T


    I am attaching rule-based intraday trading strategy from the vantharp institute. It looks quite interesting. They claim that it works well for the nifty50 index also. I luckily found it on the internet. Is it possible to code it in AFL format?
  10. G

    Help to code exit signal only if buy or sell generated previously.

    HellO Experts, I am new to Amibroker, I have learnt a lot from you all. I would like to thank you all for your help and support. I have one difficulty in coding the exit system in my AFL.. I kindly request everone of you here to try to fix me this. Let me post the code where I struggle...
  11. timircha

    licence amiquote and unlicensed amibroker can work on intraday

    I have purchased licensed version of amiquote and still i have unregistered amibroker, now I have some problem, so it is because of unregistered amibroker or there is some mistakes in my settings. first I can not start download I got an error, I have version of 3.23 amiquote licensed version...
  12. C

    Need afl code for the below inside bar conditions...

    Inside bar Downtrend explorer Conditions for Alert 1.Price less than ema<14 2.Occurance of Inside bar 3.Following candles price action(if any mutiple bars formed) should stay within the Inside bar pattern. ie. thier close should be within the mother candles high. 4.Price break below the...
  13. K

    [ AFL] send result to watchlist ordered by price

    How I can send list of stock "ordered by PRICE [from the lowest to the highest]" in a selected watchlist using AFL after an AA exploration? if anyone reply (and help) me, I explain better my question if not clear. Thanks in advance Kiss
  14. T

    Help Needed to fix buy and sell Arrow (intraday trading system with back test result attached)

    Dear All, I need help to fix the attached afl file. The buy arrow keeps on coming even during the sell signal. Can someone help me to fix this? when I backtested it on nifty spot data (5mins) it showed results as below am I doing something wrong? Please help to fix it ? feedback...
  15. T

    Supertrend wipsaws can be reduced

    Dear all, Many of us here use super trend for trading. I found a way to avoid lot of false super trend signals using Alligator & Fractals. Now the system is as follows. To trade it put following on chart, 1] Supertrend with default 2] Alligator 3] Fractals Buy Signals: When super trend goes...
  16. 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 =...
  17. B

    Metatrader 5 Amibroker Data Feed

    Hi. I was currently working on using data feed of MT5 in Amibroker directly. I searched on internet and I was able to find plugins which can transmit real time data to Amibroker with backfill option. (Note: These plugins are paid versions.) Does somebody have such plugins ?
  18. A

    Boom Volume need help for amibroker 5.3

    I find the Boom Volume make with Amibroker 6.0... Any body can help with Amibroker 5.3 because any error when use Amibroker 5.3 The error at : PlotOHLC( AvgVol, AvgVol, AvgVol, AvgVol, "Avg.Vol", ParamColor( "Avg.ACCUM Color", colorViolet ), styleGradient ); and syntax error at : Ranking...
  19. S

    Need a professional coder to fine tune my AFL for auto trading

    Hi, my strategy is coded in AFL for 6-8 months now. Works well with almost no errors on x minute charts that i use for MCX. However, i use constant range or tick charts for NSE. Need a coder to fine tune the AFL for entries/exits to reduce slippage and integrate it with Presto/3rd party approved...