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

Scan Candlestick Tweezer Top & Bottom (buy & Sell) by D Nayab for Amibroker (AFL)

Rating:
5 / 5 (Votes 2)
Tags:
amibroker, candlestick, Scan Tweezer Top & Bottom (buy & Sell)

Scan the market for Japanese candle patterns of recent Tweezer top & Tweezer Bottom. Green arrow indicates long, Red arrow indicates short.

Indicator / Formula

Copy & Paste Friendly
/* Scan Tweezer  Top & Bottom (buy & Sell)
by By D Nayab August 2021*/
O1 = Ref(O,-1);O2 = Ref(O,-2);  
H1 = Ref(H,-1);H2 = Ref(H,-2);  
L1 = Ref(L,-1);L2 = Ref(L,-2);  
C1 = Ref(C,-1);C2 = Ref(C,-2);
MHT=  HHV(H,5)==H;
MHY=   HHV(H,5)==Ref ( H, -1);
MLT=   LLV(L,5)==L;
MLY=   LLV(L,5)==Ref(L,-1);
Buy=abs(L-Ref(L,-2))/L<0.0025 AND O < C AND (Ref( O,-1) > Ref(C,-1)) AND (MLT OR MLY);
Sell=abs(H-Ref(H,-1))<=H*0.0025 AND O >C AND (Ref(C,-1) > Ref(O,-1))AND (MHT OR MHY);

0 comments

Leave Comment

Please login here to leave a comment.

Back