Search results

  1. L

    Explore Daily candle in a Weekly candle - Help

    Can someone help me write an AFL for the below condition? Condition (when AFL is 'Explored') to filter and display SCRIPS: (i) Weekly ROC % >= 25% (ii) The same Weekly candle needs to have at least one Daily ROC % as an Upper Circuit*. * Range has to be: a) 5% => 4.90 - 5% b) 10% => 9.50 -...
  2. L

    Tracking specific candles' High & Low values

    Greetings to all. Following code needs a small modification (for the below specified conditions): Also refer image for reference. Show = ParamToggle( "style", "Bar|Candle", 1 ); if ( Show ) { Sy=styleCandle; } else { Sy=styleBar; } color=ParamColor("Color",colorTan); xshift=Param("Shift...
  3. L

    Non-repaintable HHV LLV drawn Horizontal lines

    Does anybody have reference to draw horizontal lines according to HHV and LLV during a particular period. AFL should NOT be repaintable. For eg: Within 10 bars range [Weekly view], HHV and LLV have to be identified and Horizontal lines have to be drawn. When period is changed to [Daily view]...
  4. L

    Help on candles count - Strategy

    Strategy is to filter stocks fallen 40% (in Weekly view) for a rise of 10% atleast. For this, I try to filter scrips (i) 6 candles count of 40% fall and (ii) -ve candles count of 5 to 6 from fallen candles ONLY. Issue is -ve candles not getting counted from fallen 6 candles (but goes out of...
  5. L

    ROC Percentage change - Alert/filter AFL

    Can somebody help for the below requirement. Requirement is to alert (thru Amibroker) by scanning the scrips all the time thru LIVE market (ie., RT data) for the condition: Alert (thru msg box/pop-up/scan), if (i) % change is >0.5% or < 0.5% in 10mins time duration (ii) High and Low %...
  6. L

    Plotting LineArray to draw trend lines - Help.

    Hi all, I got a reference code for drawing trend lines. Can somebody help draw line ('LineArray' function) by joining the recent 2 points of HHs (as well as HHs, LLs, HLs, LHs by individual lines). Also requirement is to join 2 points alone and not to extend more than recent 2 points...
  7. L

    Help on PlotText 'for' loop entries

    Hi all, I need help on fetching right data in the 'for' loop (code is done, pls help correct if wrong somewhere). Requirement is ... If Close > EMA(C,20) then Low of the candle - EMA(C,20) Else then EMA(C,20) - High of the candle And the values need to get plotted over the candle...
  8. L

    How to take previous 52 Week high value

    Today (on 17th Nov) HITACHIHOM has touched new 52 W High (838). I want the previous 52W high value of the newly touched 52W High (prev high on 13th Nov - 721.90). Steps that I will follow for this: 1) I will filter today's 52 Week High stock. 2) Then previous 52 W high scrips which are...
  9. L

    Filter scrips near support and resistance (trend) lines

    AFL available.. Filter scrips near support and resistance (trend) lines Hi all, I'm referring the following AFL (by Kelvin Hand). I need help on filtering scrips list for extended support and resistance lines (the scrip has no extended lines but lines are limited to current last bar alone)...
  10. L

    Highly corrector stock help - AFL code

    Can anybody help sharing an AFL Code reference for the below criteria (for EOD data, not intraday): (i) Candlestick bars count should be <=5 (only these many candlesticks will be taken) (ii) High and Low difference % (of the <=5 candles) should be between >12% and <20%, indicates nicely...
  11. L

    Count of black candlesticks during a particular period - AFL help

    Dear friends, I have tried writing AFL for gathering count of negative/red/black candlesticks for a particular period (consider 10 days). Also tried with the 'cum' and 'sum' functions. I wanted to 'Explore' by counting black candlesticks (>6 out of 10 candlesticks) for investment. Can...