amibroker

  1. V

    Amibroker AFL Isnull

    I am trying to code supertrend formula in array: BASIC UPPERBAND = (HIGH + LOW) / 2 + Multiplier * ATR BASIC LOWERBAND = (HIGH + LOW) / 2 - Multiplier * ATR FINAL UPPERBAND = IF( (Current BASICUPPERBAND < Previous FINAL UPPERBAND) OR (Previous Close > Previous FINAL UPPERBAND)) THEN...
  2. V

    Static variable

    Dear Friends, I am trying to remove excess signals in amibroker. I am aware of exrem function but cannot use that as I have to set allowsamebarexit to true. Thus, trying to achieve the same using static function. However, not getting desired results. Below is my code: _SECTION_BEGIN("Price")...
  3. V

    Amibroker writing to file function

    I am using writing to file function: if(fh) { if ( LastValue(Buy1) == True AND alreadyopenbuy1 == "" ) I want to add time limit to it: startTime = 091500; // start in HHMMSS format endTime1 = 152900; // end in HHMMSS format timeOK1 = tn >= startTime AND tn <= endTime1; I tried using...
  4. V

    Amibroker Supertrend formula in Array

    I have a supertrend AFL formula in loop can any expert help in converting it into array: function SuperTrend(lenATR, width) { nATR = ATR(lenATR); pAvg = (H+L) / 2; upperBand = pAvg + width * nATR; lowerBand = pAvg - width * nATR; isUpTrend = True; dn = DateNum()...
  5. V

    Amibroker exrem function

    Need help on using Allowsamebarexit and exrem fucntion together. As using exrem, allowsamebarexit function doesn't work. Any help much appreciated. Thank you.
  6. 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
  7. P

    Download 1 minute IEOD for NSE-EQ, FnO, COMMODITY & CDS- ABOUT 18MONTHS DATA...!

    Dear Friends, Here is link for 1minute IEOD data for NSE-EQ (about 600 scripts), FnO, MCX & CDS scripts. CLICK HERE It is about 4Gb Data...
  8. A

    Avoiding Short trade if a Buy is active

    In the strategy for Intraday trades below, I need only one trade active in a day. For eg. If the buy trade is active, then short trade for that day shouldn't be triggered. Similarly, if the short trade has been triggered first in the day, then the buy condition shouldn't be triggered until the...
  9. A

    Amibroker - Get Study (Drawings on chart) Array on Exploration

    Hello, I have drawn few study lines on the chart and want to get its data in Exploration. I am not getting this data when i use the 'Study' function and try to add it in Exploration using 'AddColumn' function. Request help to resolve this. Thanks! Anuma
  10. A

    Place orders from Amibroker charts with a click

    Hello, Is there a way in Amibroker to draw Entry, Stop Loss and Target lines and then with a click of a button place the same order as Cover or Basket order in the trading account? Can someone give an AFL or an idea to make such AFL? Thanks Anuma
  11. T

    AFL Modification Work - Payment Basis

    Hello I have an AFL which is generating automated buy and sell trade signals, at the completion of the price bar. The problem is that if it finds 5 different stocks which meets the criteria, then it generates 5 signals for each of them simultaneously at the very same second. All I need to do...
  12. 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...
  13. P

    REaltime quote

    Hi, I wish to have 10-12 groups with each 10-12 scripts, however I m unable to save it in realtime quotes in amibroker. Pls give a solution to this.
  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. P

    Improving and Implementing Mechanical Trading System

    Hello Friends, I am looking for help with my system developed using Amibroker. The system is a positional system with 15 min timeframe and will trade futures. The initial tests are giving good results which is warranting to further fine tune it and if the results are encouraging then would go...
  16. 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...
  17. P

    help adding dates to swing points in amibroker afl

    can someone please add dates to each zig zag high and low points the code is as follows ZZPercent = Param("ZZPercent", 5 ); ATRPeriod = Param("ATRPeriod", 5 ); ATRFactor = Param("ATRFactor", 1.5, 0, 5 ); HLPivot = ZZPercent * 0.01 + ATRFactor * ATR( ATRPeriod )/Close; Ll = Low[ 0 ]; Hh =...
  18. E

    AFL for RSI SWING !!

    hai everybody i need the AFL for the rsi swing . what is it simple when rsi start form below 30 and reach 70(or above ) then come below 30 is a cycle. there two waves one is up wave and another is down way . i try a lot with HIGHSINCE , HIGHESTSINCE, PLOTTED BUY SELL and some other but every...
  19. 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...
  20. 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...