Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Horizontal Line for Amibroker (AFL)

Rating:
5 / 5 (Votes 3)
Tags:
amibroker, support, resistance

1. Copy the AFL to amibroker formula folder
2. Start Amibroker, You should now see the
Price_Horizontal_line.AFL in
the charts menu.
3. drag and drop the AFL in new blank chart.
4. From the insert menu add horizontal line.
5. Double click the horizontal line and change label as RE.
6. add another another horizontal menu and label it as SU.
7. Now, you should see the Buy/Sell signal

Similar Indicators / Formulas

Intraday Trades
Submitted by vishalsbharati almost 13 years ago
Support & Resistance
Submitted by shyam242 over 13 years ago
Automatic Support and Resistance with Channel
Submitted by kaiji almost 15 years ago
Support/Resistance Modified
Submitted by dkeleher almost 14 years ago
Tom DeMark Trend Lines
Submitted by kaiji almost 15 years ago

Indicator / Formula

Copy & Paste Friendly
//www.aayvu.com buy/sell signals
Plot(C, "Price", colorBlack, styleCandle ); 
su = Study("SU", GetChartID() ); 
re = Study("RE", GetChartID() ); 
PlotOHLC( re,  re,  su, su, "", colorYellow,styleCloud );
Buy = Cross( Close , Study("SU", GetChartID()) );
Sell = Cross( Study( "RE" , GetChartID()), Close );
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
PlotShapes( Buy * shapeUpTriangle + Sell * shapeDownTriangle, IIf( Buy, colorGreen, colorRed ), Offset = -1);

5 comments

1. czar1403

no Buy/Sell signal did not shown

2. administrator

You need to read the description properly.

3. mbzd

I applied what was told but i see only a yellow plotted area between horizontal lines.
I didnt see any buy-sell signals.???

4. mhjwisestocktrader

salaam,
there is problem.
the lines disappear when i change type to su or re
thanks

5. sinhasaptarshi

Sir, I am a new trader. I want to setup the following strategy. Pls, help me for the AFL code.

1)Select 50 stocks. Draw 2 trend line named RE, SU on each stock .it’s like resistance and support. This 2 line will draw by user randomly. It’s not based on any calculation.
2)when price / EMA touch or cut the trend line ( RE) from below the line Buy call will generate.
3)when price / EMA touch or cut the trend line ( SU) from above the line Sell call will generate.
4) Real time automated Alert required of the Group of Stock.

Leave Comment

Please login here to leave a comment.

Back