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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
modified ichimoku cloud for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /*Sun & Cloud*/ /* Modified from Ichimoku chart by CC Chen*/ Long2 = EMA ( Close ,7); Long1 = EMA ( Close ,6); Long3 = OBV (); Long4 = Ref ( OBV (),-2); K=( H +2* C + L )/4; Z= ( HHV ( H , 3 ) + LLV ( L , 3) )/2 ; SP= IIf (K>=Z*1.05,1.10*Z, IIf (K<Z*1.05 AND K>=Z,1.0*Z, IIf (K<Z,0.9*Z,0.9*Z))); M= IIf (Long1>long2,Long2,Long1); MaxGraph = 5; Graph0=M; Graph1 = SP; Graph2=Z; Graph3=Long2; Graph4=Long1; Graph0Style=6; Graph1Style =8; Graph2Style=4; Graph3Style=6; Graph4Style=6; Graph0Color=20; Graph1Color=3; Graph2Color=5; Graph3Color=2; Graph4Color=8; Title= Name () + "{Sun&Cloud} : " + WriteIf (Long1>long2 AND Long3>Long4, "AGNI" , "COMET" ); |