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.
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...
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...
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.
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...
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...
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...
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:
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...
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...
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...
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...
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...
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...
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...
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 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...