AmiBroker formula Language

hello
i have an afl in AB which do give me buy and sell signals...
i want to test those on ma demo in metatrader...
i want mt4 to place orders according to the arrows so i can test it while trading ma live account...
how do i do that??
please help me...
u can also contact me on smartshahezad at the rate of gmail dot com
ty in advance
 
Need an Afl for a 99% Equity Stop loss.

i.e Suppose my equity e.g 10lacs with 3 trades on hold is approaching a loss of Rs.10k.
As soon as Loss of Rs.10k is hit all trades are exited and i am done for the day.


Kindly give me the afl for the above condition.
 
Hi,


Can somebody provide an AFL as per the following specifications.

That plots a thick line at previous day's High and Low, and a thin line at current day's High and Low on candlestick charts.

This is required for intraday chart that updates in realtime. The previous day's High and Low lines should run through the next (current) day.

Thanks in advance.

MMR
 
Is this possible ?
What I am looking for is automation of the stock picking process. Please allow me to discuss in detail the aspects I am looking for.

1. Camarilla levels shall be calculated as per the following equations :
H5 = (H/L)*C
H4 = [1.1*(H-L)/2]+C
H3 = [1.1*(H-L)/4]+C
H2 = [1.1*(H-L)/6]+C
H1 = [1.1*(H-L)/12]+C

L1 = C-[1.1*(H-L)/12]
L2 = C-[1.1*(H-L)/6]
L3 = C-[1.1*(H-L)/4]
L4 = C-[1.1*(H-L)/2]
L5 = C-(H5-C)

2.These levels must be used to develop a Custom Indicator, a Custom Exploration and a Custom Expert Advisor.
3.All of the above must take care of trading holidays even those which fall within the week.
4.Custom Indicator : An integrated indicator which will display the weekly and daily Camarilla levels when plotted on any chart irrespective of whether it is an RealTime intraday chart, a daily chart or a weekly chart with easily recognisable colour coding. Also a seperate indicator for monthly Camarilla levels.
5.Custom Exploration : Three seperate explorations (daily, weekly and monthly) to find out which stocks are trading near any of the Camarila levels.
6.Custom Expert Advisor : An advisor which when attached to a chart, whether its an RT intraday chart, a weekly chart or a monthly chart, alerts with a visual and audio alert when the stock trades near any of the Daily, Weekly or Monthly Camarilla levels.
7.Changes necessary in the coding if the numbers (2,4,6,12) in the equations are to me modified.
8.System backtester.
9.Passowrd protection (of course should be know to me) for all of the above.

If anyone can provide me a code for the above or a part thereof, it will be of immense help.
Thank you.
 
How to draw a vertical line in amibroker?

Normally at buy and sell condition points, we plot up and down arrow shapes. Instead of that, is it possible to draw a vertical line at these points? If so, please inform afl for this.

Thanks
 
Last edited:
MMR,
I think the attached AFL will serve your purpose

Vidyasagar

Sir can u please provide an AFL for ambroker for day trading that can give me a profit of 0.2% or more on each trade. i am a JOBBER( scalper) and work somewhere. if u can provide me with that i will be very gratefull else i lll loose my job please help me sir. The AFL shud give me buy and sell signals cause i dont have no knowledge of tech analysis. Please any help is appreciated.
thank you.
 

Similar threads