1. 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
  2. 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...
  3. 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...
  4. 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.
  5. 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...
  6. 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...
  7. 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...
  8. soft_trader

    RKSV - Unlimited Online Trading - Part-2

    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:
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. S

    AFL CODE: simple downtrend, I am wrong! :(

    Hello, I have tried to make just a simple downtrend: I tried to make 3 red bars, but its not working. If someone could please correct me, I know its an amateur question but i'm still learning. Buy= C< Ref(C,-1) AND Ref(C,-1) < Ref(C,-2) AND Ref(C,-2) < Ref(C,-3);/// I thought this would...
  15. J

    Send orders from AMIBROKER to MT4

    Hello everyone so nice to be apart of this community. I have searched far and wide and can't even find a post about this. I understand data can be extracted from mt4 to ami. But I would like to actually send orders from ami to mt4. I'm guessing I would need like a EA script of some sort...
  16. L

    script to delete blank/junk symbol

    Hello Friends, My amibroker db has some obsoleted, blank and/or junk symbol included, I need to clean those things from the database. Please help me to do this TIA
  17. W

    Amibroker ""PLEASE correct me and help me!!

    Hello hardworking people, I have read your forums , went though multiple sites and cannot find the simple answer i'm looking for, if you would please be kind and offer your assistance it would be most honourable. All I am trying to do is manipulate the program to show me a gapup with a...
  18. A

    Dealing with multiple time-frames in Amibroker for backtests.

    Hi all, I want to generate the signal on an hourly bar , but the trailing stops should run on 1-minute bars since trailing stop on hourly bar wouldn't work in real time. Settings are as follows: Generate signal on hourly bars and trailing stop loss at 0.3% with no fixed target. I don't...
  19. V

    How to identify buy and sell signal

    Hi All, I am new here, kindly help me to understand that how can we judge for fake buy and sell signal in Amibroker.
  20. A

    Help required - convert to Array Code

    hi, I am new to amibroker but know a little bit about C++. I tried coding the following. Amibroker always encourages coding using Arrays and its efficient as well in performance as well as its elegant. I would like to know how to code the following using Arrays and kindly request experienced...