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

Stoch Cross Weekly for Amibroker (AFL)
icanjuli
almost 13 years ago
Amibroker (AFL)

Rating:
4 / 5 (Votes 4)
Tags:
oscillator, trading system, amibroker, exploration

To buy and sell by indicator stochastic weekly cross.

Similar Indicators / Formulas

SmoothRSI
Submitted by paragcpatil over 13 years ago
Cole by Marek Chlopek
Submitted by mamunbaf9117 over 13 years ago
Graphic modify Bull & Bear Volume
Submitted by bobylam over 13 years ago
Weissman RSI & MA System
Submitted by jarjis_sk about 14 years ago
Graphic modify Gator of Bill William
Submitted by bobylam over 13 years ago
NIFTY HUNTER
Submitted by jaipal7786 almost 11 years ago

Indicator / Formula

Copy & Paste Friendly
TimeFrameSet( inWeekly );
isCrossStochUp=Cross(StochK(15,3),StochD(15,3,3)) AND StochK(15,3)<60 ;
isCrossStochDown=Cross(StochD(15,3,3),StochK(15,3))  ;
targetPrice=EMA(H,15)+ 2*ATR(15);

buyCross=isCrossStochUp ;
sellCross=isCrossStochDown;

TimeFrameRestore();
Buy = isCrossStochUp  AND C*MA(V,30)>10000000 AND ((targetPrice-Close)*100/Close>3 OR 100*ATR(30)/MA(C,30)>2); 
Sell =  isCrossStochDown  ;


Buy = ExRem( Buy, Sell );
Sell = ExRem( Sell, Buy );
SetTradeDelays( 1, 1, 1, 1 );
BuyPrice = SellPrice = Close;
AddColumn( Close, "Close", 1,IIf(buyCross, colorRed, IIf(sellCross , colorBrightGreen, colorBlack)),IIf(buyCross, colorBrightGreen, IIf(sellCross , colorRed, IIf(Sell  , colorYellow , colorPaleGreen))) );
AddColumn( ROC(C,1), "% ROC", format=1.2,IIf(buyCross, colorRed, IIf(sellCross , colorBrightGreen, colorBlack)),IIf(buyCross, colorBrightGreen, IIf(sellCross , colorRed, IIf(Sell   , colorYellow , colorPaleGreen))));
AddColumn( targetPrice, "target price", format=1.2,IIf(buyCross, colorRed, IIf(sellCross , colorBrightGreen, colorBlack)),IIf(buyCross, colorBrightGreen, IIf(sellCross , colorRed, IIf(Sell   , colorYellow , colorPaleGreen))));
AddColumn( (targetPrice-Close)*100/Close, "% target", format=1.2,IIf(buyCross, colorRed, IIf(sellCross , colorBrightGreen, colorBlack)),IIf(buyCross, colorBrightGreen, IIf(sellCross , colorRed, IIf(Sell   , colorYellow , colorPaleGreen))));

SetPositionSize( 25, spsPercentOfEquity );
Filter = Buy;

2 comments

1. rajaswamy

not showing any think pls rectify it thank you

2. suhail

I think this afl is for exploration / scanning only

It gives resluts when you scan or explore

Leave Comment

Please login here to leave a comment.

Back