I have just started to learn AFL, basic Buy and Sell Backtest i can do with Indicators but i got stuck with Super Trend Indicator, can anyone help me in this regard,
Buy Condition = Cross (Close, SuperTrend)
Sell Condition = Target or SL
In sell condition, i want if stock...
Can anyone please code the below strategy as I am begineer and learning AFL so not familier now.
On starting Mark 30min 2nd candle high & low
If price break above 30min 2nd candle the Buy signal comes
Targets (T1, T2, T3) = Set from parameter setting Manual in % from...
I want to replicate the function of positionScore function for live trading via scanner. I want to get only top 5 signals at every candle start. All my buy conditions are based on last candle close. I have a list of 50 symbols. My AFL scans this list and shows top 5 symbols based on their ADX...
I'm stuck in one of the issue to resolve fake signal.
My requirement is when buy condition meet true first time then our code should check buy condition again in 3-4 time within 2-3 second, when last check (4th time) is true, then buy signal plot or generate.
I don't want to use these...
Hi Below is code,
When condition meet at current candel, it will not genrating any signal but when current candel is closed & open new candel then it give buy signal to the previous candel
But i want signal on current candel when condition meet, can anyone help me...
I want to find high of the first 15 min candle.
I am using the below code.
bi = BarIndex();
arrayitem = SelectedValue(bi) -bi;
firstbarHigh = High[arrayitem ];
This code is giving me the close price for the 1st candle. I want High price of the first 15min candle.
I am attaching rule-based intraday trading strategy from the vantharp institute. It looks quite interesting. They claim that it works well for the nifty50 index also. I luckily found it on the internet. Is it possible to code it in AFL format?
I am new to Amibroker, I have learnt a lot from you all. I would like to thank you all for your help and support.
I have one difficulty in coding the exit system in my AFL.. I kindly request everone of you here to try to fix me this. Let me post the code where I struggle...
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...
Inside bar Downtrend explorer
Conditions for Alert
1.Price less than ema<14
2.Occurance of Inside bar
3.Following candles price action(if any mutiple bars formed) should
stay within the Inside bar pattern. ie. thier close should be within the mother candles high.
4.Price break below the...
How I can send list of stock "ordered by PRICE [from the lowest to the highest]" in a selected watchlist using AFL after an AA exploration?
if anyone reply (and help) me, I explain better my question if not clear.
Thanks in advance
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...
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...
I was currently working on using data feed of MT5 in Amibroker directly. I searched on internet and I was able to find plugins which can transmit real time data to Amibroker with backfill option. (Note: These plugins are paid versions.)
Does somebody have such plugins ?
I find the Boom Volume make with Amibroker 6.0... Any body can help with Amibroker 5.3 because any error when use Amibroker 5.3
The error at :
PlotOHLC( AvgVol, AvgVol, AvgVol, AvgVol, "Avg.Vol", ParamColor( "Avg.ACCUM Color", colorViolet ), styleGradient );
and syntax error at :
Hi, my strategy is coded in AFL for 6-8 months now. Works well with almost no errors on x minute charts that i use for MCX. However, i use constant range or tick charts for NSE. Need a coder to fine tune the AFL for entries/exits to reduce slippage and integrate it with Presto/3rd party approved...