amibroker afl

  1. A

    Buy signal only once for each day

    Hello friends, I am new to amibroker and was trying my luck in AFL. I want to calculate the first buy signal for the day,then stop the next occurring buy signal for the day. Any help is appreciated!! Thanks
  2. A

    Generate Buy signal once for each day

    Hello there, I have just started learning amibroker and was struck in this problem. I want to generate the Buy signal only "Once" in a day.How can we do that?? Please Help!!!
  3. M

    How stop loss in amibroker backtest works?

    Can any amibroker programming gurus can help me with clearing this concept. I want to add stop loss function to my backtest script and I found this fixed stop loss code. amount = 2; // 2% loss ApplyStop( stopTypeLoss, stopModePercent, amount, True ); my question is how amibroker determines a...
  4. C

    How to compare current and previous candle in Amibroker AFL?

    In my logic I need to find out the candle which makes new high as compared to latest 5 candles. And the candle must be a red candle which means its CLOSE<OPEN. As well as it should look more like an inverted hammer for which I have written something like this- O<(H-L)/2 Now the biggest...
  5. Sagarocks432

    Please correct this afl

    Please correct this afl SetChartOptions(2,chartShowArrows|chartShowDates|chartWrapTitle); SetChartOptions(0,chartShowArrows|chartShowDates); //GfxGradientRect( 180, 30, 1759, 735, ColorRGB(40,40,40), ColorRGB(0,0,40) ); GfxSetOverlayMode(1); GfxSelectPen( ColorRGB(150,0,0), 1 )...
  6. J

    How to AUTO Place from Nest Plus API? Apart from Manual Place Button

    I dont want to click Place or Ignore.. it should auto execute.. My Working Code is : _SECTION_BEGIN("Chart Options"); GfxSetBkMode(0); SetChartOptions (0,chartShowDates|chartShowArrows,chartGridMiddle,0,0,10); SetChartBkColor( colorBlack ) ; SetChartBkGradientFill(...
  7. M

    Need afl help to show most recent shape only

    I need help to show only the latest/last/most recent Shapes like buy/sell arrow or IDNR7 etc. The idea is to have a cleaner chart so that it doesn't look clattered with shapes. Is there a way to do it? I tried barcount or lastvalue, but for want of expertise I couldn't achieve the desired...
  8. R

    Long term trading strategy - Stock sreener

    Hi, How can I write AFL to scan stocks for below requirement, 1) Stock with weekly MACD HISTOGRAM is above 0 line. I.e. UP 2) With daily MACD HISTOGRAM is below 0 line but heading towards line 0. This is very simple strategy that I read in one of the book. This strategy is called...
  9. J

    Amibroker with datafeeds

    Is there any reliable AMI broker software supplier with data feeds of NSE? I need a AFL too.
  10. Sagarocks432

    Why this code is not working on amibroker

    plz remove this post Can any1 tell me how to delete your own post from this forum???
  11. Sagarocks432

    Code this strategy for amibroker.

    Please code this for afl to set alerts if following 3 conditions are met simultaneously. :thumb: Buy stochastic crossover k over d from below [time frame-5 min] stochastic K > D [time frame-15 min] stochastic K > D [time frame-30 min] Sell stochastic crossover d over k from below [time...
  12. X

    Intraday

    Which software is best for intraday trading? Is AmiBroker good?
  13. C

    How to remove weekend gap from daily data.

    Hi Friends, I am new to amibroker. I am having one issue with data display in amibroker. I use eod bhavcopy for that purpose. I want to remove the weekend data that are displayed in the chart. I also attach a screenshot. Also do my calculations are affected with weekend data? please...
  14. R

    Can someone help me in this?

    hi guys, i wish someone could help me write a afl which scans for bullish/bearish condition in higher tf (1hr) and then gives buy/sell signal on the conditions in lower TF say 15m. for eg.. if macd is bullish in 1hr tf then it must give signals (buy) when macd is bullish in 15min. vice versa...
  15. M

    Amibroker AFL

    Dear Friends I want to create the buy sell system in AFL for that i want to use the Pivot Finder afl along with Open range break out after came the pivot point and current price crossing break out line want to plot buy signal and sell signal. Could you help me regarding this amibroker AFL?
  16. K

    Require Coding for well proved strategy

    Hai Seniors I have a well proved and tested strategy , but for this i have to switch in to multiple time frames . If any senior can code this strategy then it will be very helpful for all the members of this forum. Strategy : Idle Time frame - 15 minutes Since EMA20 plays a major role in...
  17. K

    Multiple timeframe EMA in hourly chart

    Help needed. Can any senior plot 200EMA of different time frames (hourly , 4hourly and daily) in 1 hourly chart. The strategy is 1)Buy when prices bounce back from 200 EMA (Hourly) , provided price close > Hourly 200EMA > 4 Hourly 200EMA > Daily 200EMA i.e. trend is same (buy) in all these...
  18. H

    Please provide Amibroker AFL for the strategy

    Can any one please provide the amibroker AFL for the below strategy. Entry for long: When price of a scrip reaches certain points above immediate pivot low (Eg:10, 20 or 50.... points above pivot low). No. of points to be specified through Parameter. Trailing Stop Loss for long: When price...
  19. S

    Any one have this AFL?

    Dear Friends, Any one have this modified (The Foundation by Southwind) Afl, which has Target/Stop loss? If so, kindly please share the same. http://s30.postimg.org/ca8dtg49t/AFL.png Thanks in advance friends. :)
  20. K

    Best Excel Formula file for MCX Base Metals

    Hi All, I am a newbie trader in MCX. Can somebody, please post the links for the best EXCEL Formula file which works for MCX Base Metals? Also, if you could also upload best working Amibroker formula, that would be useful for all. Thanks in Advance. Regards, kacraj.