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 am looking for mechanism by which
1. AFL will publish the information which can be subscribed by third party program
2. Subscriber written in.net/python will use the published information and will place the orders in NEST (ad not the Nest Plus).
Can somebody please guide on both above points?
I am new to AFL writing and to forum as well, i am here in hope to get support, I am working on variable Moving Average(VMA), i need help to develop AFL for the same. on crossover generating signals accordingly. can someone help.
I got the Rotational Momentum code from below URL.
I modified the above code a bit & 'Backtested' a bit as per below logic:
1) Calculate the PositionScore on End of Month
2) The Next trading day (Start of...
I have placed the query for placing order from AFL amibroker. with the below conditions.
1) first order should be 1;
2) If any order exited by Stop loss or target (sell or cover) the quantity should be 1;
3) if the stoploss or target not hit then the queantity should be 2; way...
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...
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...
I have coded an AFL for sum volume of all advancing stocks.
I am strugglig with getting the right output.
below is the code
a = Close < Open ;
b = Sum (Volume,a);
Buy = 0;
Filter = 0;
AddToComposite( b, "advol", "X" , 7);
advvol = Foreign("advol", "C", True);
Hi i have a strategy which i have back tested manually and visually, but now i want to test it with exact numbers for past 10 years of data of nifty intraday..
so looking for some1 who is really good at it.
seen stochastic rsi (14,14,3,3) in investing.com...tried many codes from google for stochastic rsi afl but unable to find 1 which replicate same values as on investing.com stochRsi indicator.
Can someone help with it.
I need AFL for this HULL Trick (Sean bro trick)
Requirements 4 indicators
1. Awesome indicator ( Default setting)
2. Bollinger Band (Default setting)
3. Hull Moving indicator ( change setting from 9 to 22)
4. EMA ( Change setting from 9 to 55)
15 min / 30 min for intraday
I am new to coding and I have been struggling with a very basic requirement of mine.
I need the AFL code for an exploration that will read "Bull" when the +DI crosses the -DI and ADX (range 14) is going above 25. Similarly to read "Bear" when the -DI crosses the +DI and ADX...
Can you help me why below code not working & why?
_SECTION_BEGIN("MAX Moving Avg broke");
function fun_name(C,LB )
LB=IIf(IsNull(LB),1,LB) OR IIf(LB<=0,1,LB);
for( i = 0; i < BarCount; i++ )
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.
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...