Hi AFL folks,
I am looking for an AFL code in this strategy :
In a 75 minute candle, If 5 - minutes supertrend Indicator is below the 75 minute candle, and 5-minute RSI indicator value is between 32 and 50 - then it is sureshot BUY signal.
In a 75 minute candle, If 5 - minutes supertrend...
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:
I am using writing to file function:
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...
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()...
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...
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.
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?
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...
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...
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...
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...
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
When super trend goes...
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...
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...