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.
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...
I've no idea about coding, can anyone can help with the following criteria:
Daily EMA (20) crossover Daily EMA (50) AND
Weekly EMA (20) >Weekly EMA (50) AND
Weekly MACD Signal GREATER THAN EQUAL TO 1 Week ago MACD
Scan at every 5min interval
Alert (Sound and popup) for buy signal...
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 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.
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...
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...
can someone please write the code in afl with the below conditions..
A buy signal should be generated when RSI crosses above 60 RSI>60 in anytime frame, by taking the smallest possible time frame ie M1 candle close value at that instance
similarly a sell signal should be generated when RSI...
This afl is for intraday trade.
I am new to amibroker afl and was struck in this part.How to exit at next day am or trade next day.
I have tried some afl.
//Open at sell at next day open
Thanks for help!!!
I am new to amibroker and was trying my luck in AFL.
I want to calculate the first buy signal for the day,then stop the next occurring buy signal for the day.
Any help is appreciated!!
I know that when working on multitime frame we perform operation seperatelty within Timeframeset and Timeframerestore. But how to perform such calculation which stores value of multi-time frame. TimeFrameSet(in5Minute);
a= StochK( periods = 14, ksmooth=3 )...
Hi guys! can anybody help me?
I want to write a module to explore stocks under cirtain conditions,
A) IF PRICE OF STOCK IS IN THE RANGE OF RS.50.00 TO 250.00
1) buy = sma 5 - sma 25 > 2.00, (i.E. DIFFERENCE IN SMA SHOULD BE GREATER THAN 2.00) and sma 5 is crossing above the sma 25,
Hi guys (do we have dolls also here )!!!
I need your help to make couple of afl's in amibroker. Ping me , if u have time, patience n expertise. AND above all u must posses a kind heart and a helping hand.
Yeah, i know this must be boring to old ami professional but what to do newbies...
Can any senior plot 200EMA of different time frames (hourly , 4hourly and daily) in 1 hourly chart.
The strategy is
1)Buy when prices bounce back from 200 EMA (Hourly) , provided
price close > Hourly 200EMA > 4 Hourly 200EMA > Daily 200EMA
i.e. trend is same (buy) in all these...
i want to create auto intraday data updating utility for amibroker (thru local database/ not with metalib.dll)..
i am currently updating it thru metalib.dll,
but i want develop it like manshi.co.in /Rtdsdata.com application , which can directly update intraday data to amibroker - local...
hello senior members,
i am seeking help for coding, signals.
Say, a specific condition is applied for,
i need coding for sell and cover.
condition for sell is,
hopefully waiting for...
I have a long-only simple moving average crossover strategy with one added constraint; trades should take place only when the ticker price is in the specified range. I calculate the trading ranges for different tickers in the morning before the trading session at NSE opens. For eg. in...
Please help me debug following code.
I am encountering error in 6th line when accessing the array Close beyond a certain index. The error encountered is following:
Error 10. Array subscript out of range. You must not access array elements outside 0..(BarCount-1) range. You attempted...