1. T

    Fixing the first bar of the day as the first bar on Amibroker chart

    Hello, I trying to do this for a long time but have not been able to do it. I am posting this after unsuccessfully searching the internet. I want to fix the "first bar of the day" on the left hand side like the picture below and to have the new bars get added to it on the right side. So that...
  2. G

    Hi, can some one pls help me with a scale in algo in amibroker ?

    Hi fellow traders, i am trying to work a basic bollinger breakout system using an ATR multiple as SL. What i want to do is scale in 3 times if i get multiple buy signals before my ATR SL is hit. below is a copy of my code, will appreciate if someone could help me get the last part, i.e. scaling...
  3. C

    Is it Possible to add more Aux data? (Such as Aux3, Aux4, Aux5)

    Hi Everyone Is it possible to import more Aux data? Because apparently my data has more than 2 auxiliary data. I upload the data image as well. If it is possible, how to do it during the import wizard? I have done typing the additional comment during import wizard with this script: $FORMAT...
  4. B

    Help needed in coding amibroker afl and back testing for payment

    Hi i have a strategy which i have back tested manually and visually, but now i want to test it with exact numbers for past 10 years of data of nifty intraday.. so looking for some1 who is really good at it.
  5. C

    Custom alert option for composite stocks in Real Time?

    Is there any option in Amibroker so that to create a custom alert on Intraday chart movement of the composite stocks(stocks which I pick on my own based on performance) . Eg: Alert on Aggregate movement of Stock A+ Stock B+Stock C.
  6. R

    Need help with AFL for Exploration - Urgent

    Hello Everyone, I am new to coding and I have been struggling with a very basic requirement of mine. I need the AFL code for an exploration that will read "Bull" when the +DI crosses the -DI and ADX (range 14) is going above 25. Similarly to read "Bear" when the -DI crosses the +DI and ADX...
  7. P

    why this code not working

    Hi, Can you help me why below code not working & why? _SECTION_BEGIN("MAX Moving Avg broke"); n=0; function fun_name(C,LB ) { LB=IIf(IsNull(LB),1,LB) OR IIf(LB<=0,1,LB); R=ValueWhen(Cross(MA(C,LB),C),HHV(H,LB),1); result=IIf(C>=R,LB,0); return result; } for( i = 0; i < BarCount; i++ ) {...
  8. P

    highest days of EMA broke today

    Hi, I want to find how many max days EMA stock break today? if C>EMA(5) is true & C<EMA(6) is false then afl should return 5 since close broke max of 5 days ema. this things should run in loop for 1 yr say 365 loops total Can help me with this afl. Regards, Paresh
  9. T

    rolling quantitative momentum strategy afl

    Hello All, Below strategy is used by Raghunath sirji.. Momentum is the speed with which a particular object moves. In the financial world, momentum refers to the speed with which the price of the stock or any other asset moves. A stronger momentum indicates a faster movement in the price of...
  10. frisky

    REQUEST - Just need an exploration for Supertrend (already AFL ready created by KelvinHand)

    Hi, I am sure there would be lot of experts out here who are well versed on coding. What I am proposing is to have an exploration to be implemented for already existing AFL which is created by "Kelvinhand". So, the main thing is , I am trying to establish/re-create a paid version AFL of...
  11. P

    not traded stock & missing quote afl required

    Hi, need below afl exploration 1. to search not traded stocks , last date of available data, no of days its not traded compared to today's date. 2. missing quote for stock, date ,symbol, when compared to index stock i.e. Nifty Pls share if you have afl. Regards, P.
  12. T

    Scanning stocks with Global Data Feed

    Whoever using global data feed products, I want to know whether you can do a full scan/exploration with Amibroker on all available symbols? On their website they have mentioned => for nimble data lite its 5 symbols, and for nimble data pro 200 symbols. Does this mean we can only scan 5 -200...
  13. MCXgain

    Amibroker Exploration Help

    Hi I'm trying to create an ami exporation AFl which will scan stock for "intraday fall from high" and "intraday recovery from low". The section is supposed to scan for % change and provide net % change value with color. Its showing no value instead. Would be grateful if I could find some help...
  14. M

    Need help on AFL code

    AFL code to generate buy/sell signals in amibroker with close price with above EMA 10 crossover. The buy signal indicates add 10 points from highest candle price when close price crossover with EMA 10. The sell signal indicates subtract 10 points from lowest candle price when EMA 10 crossover...
  15. soft_trader

    Upstox - RKSV - Trade in Rs 20 Max

    Oh! got it. It is the patch for windows 7. I have once installed that that patch, but after installing that NOW used to hang every now and then so reinstalled NOW without that patch. Since then, NOW working great!! :cool:
  16. D

    Position size afl help needed

    The system I am testing opens random number of positions every day (Long only), and closes at the end of the day (yesterday bought 4 stocks, today bought 10 stocks, etc.). I am trying to allocate the same % of equity to each position, but since the number of positions is different every day I am...
  17. M

    AFL code - Trading on concrete calendar dates

    Hello, I would like to test an idea on strategy that trades on specific dates during the year only. I have defined concrete list of dates and want to back test this strategy that will on particular date buy on open and sell on close equities from certain basket. Unfortunately I cannot put...
  18. W

    Distance between two points: code incorrect

    Hello can someone please help me with this code. I'm trying to have a distance between two moving averages but I can't get it to work, any suggestions? ///For instance I want the difference in percent between myma1 and myma2 to be no more than 2%. MaxDistance= 0.02; // max percentage...
  19. W

    Amibroker ADX Barssince >> Still Learning << :(

    Hello programmers, I am a slow learner please forgive this amateur question. I hope you can please assist me or guide me please. All I am trying to do is make the PDI Range greater than MDI adx range for 10 bars or more before buy is executed. I just don't understand "barssince" or if its...
  20. B

    How get top 5 results while scanning in amibroker.

    Hello all, How can we get results in scanning according to position score as back-testing uses position score to rank signals. as i am trying to do autotrading, and using alterif for signal trigger. but while scanning i am not able to filter the top 5 results according to postion score...