Hi Experts, I found a thinkscript strategy for consolidation boxes:
Attempted to convert it AFL, but can not seem to replicate, your help wioll be highly appreciated:
// Consolidation Box...
Can anyone help me out regarding plotting of static horizontal lines on amibroker.
Example, if i want to plot horizontal line on NIFTY charts w.r.t it's fixed option strikes, e.g. 10000,10050,10100,10150,10200 and so on (given range of 10000 to 10200, with increment of 50 points)
Do we have a alternative of Amiquote? The free version allows us to only update 10 scrips.
Can we have a Python script to download NSE all scrips EOD data from yahoo or quandl in amibroker readable format? I tried reading amibroker database but it is in binary format so we can’t directly...
Below is my code generates a buy signal if Previous Day High is crossed.
lastDayHigh = TimeFrameGetPrice( "H", inDaily, -1 );
todaysOpen = TimeFrameGetPrice("O",inDaily,0);
cond1 = C < MA(C,13);
cond2 = C < MA(C,50);
cond3 = Ref( L, -1 ) > lastDayHigh...
Hello AFL Experts,
Need Amibroker Afl for the Below Candle Pattern Exploration, Please Help Me. I am not an IT Or Coding Professional.
1. Bullish Engulfing (ONLY BODY SHOULD CONSIDER)
Previous Candle - Should be Bearish(Red) Candle
Next Candle - Should be Green Candle, This Candle Body...
How to execute the order immediately after 'Cross' instead of after the close of the candle in AFL. My Current AFL has a function which performs execution of order after the moving average crossover, but the order gets executed only after the closure of the current candle. Instead of that, I...
I have Created Excel File for Download Nse Equity,Index,Future and Option Bhav Copy Files and import to Amibroker Database.
Kindly Download this file from here : https://drive.google.com/open?id=1p-rsn8X2kqSFFSzPkHaGTphiiNNG_Wy2 .
Video Help File ...
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?