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

Enter At Market for Amibroker (AFL)

Rating:
2 / 5 (Votes 3)
Tags:
trading system, amibroker

This afl works on scan. No chart will be plot. It gives buy and sell signal on scan.

Similar Indicators / Formulas

All in One
Submitted by Nahid almost 14 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 over 10 years ago
Kase CD V2batu
Submitted by batu1453 over 10 years ago
Ichimoku
Submitted by prashantrdx over 10 years ago
Arvind' System
Submitted by akdabc over 14 years ago
Miftha remix for dse
Submitted by coolpace over 14 years ago

Indicator / Formula

Copy & Paste Friendly
//	EnterAtMarket.afl
//
//	Entry at the Market
//
//	This example uses a simple moving average crossover to 
//	illustrate entering a long position at the market
//	
//	The delay between the signal and the entry is
//	controlled either by the Settings window or the AFL code
//	
//	The following code will insure that trades will be made 
//	on the Close of the same bar that generates the Buy or
//	Sell signal.
SetTradeDelays(0,0,0,0);
BuyPrice = C;
SellPrice = C;

//	The trading system is a simple moving average crossover
MA1 = MA(C,5);
MA2 = MA(C,25);

//	The Buy signal is generated on the bar when MA1 crosses
//	from below MA2 to above MA2.
Buy = Cross(MA1,MA2);
Sell = Cross(MA2,MA1); 
//Figure 7.1 Enter at Market

0 comments

Leave Comment

Please login here to leave a comment.

Back