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

DHIBI SURE SHOT for Amibroker (AFL)

Copy & Paste Friendly
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("StyleBar") | GetPriceStyle() );
 
//ThisStyle = styleBar;
//break() );
_SECTION_BEGIN("DHIBINESH AFL");
SetChartBkGradientFill( ParamColor("BgTop", colorBlack),ParamColor("BgBottom", colorBlack));
SetChartOptions(0,chartShowArrows|chartShowDates);
SetChartOptions(0,0,chartGrid20 |chartGrid50 |chartGrid80);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} < open %g > < high %g > < low %g > < close %g > (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
   
//Plot(C,"\nPrice",IIf(C>O,ParamColor("Wick UP Color", colorDarkGreen),IIf(C<=O,ParamColor("Wick Down Color", colorDarkRed),colorWhite)),64,0,0,0,0);
Periods = Param("Periods", 39, 1, 300, 1 );
//TimeFrameSet();
TOP        = Open;
PHA        = Ref(H,-1);
PLA        = Ref(L,-1);
POA        = Ref(O,-1);
PCA        = Ref(C,-1);
PHB        = Ref(H,-2);
PLB        = Ref(L,-2);
POB        = Ref(O,-2);
PCB        = Ref(C,-2);
PHC        = Ref(H,-3);
PLC        = Ref(L,-3);
POC        = Ref(O,-3);
PCC        = Ref(C,-3);
PHD        = Ref(H,-4);
PLD        = Ref(L,-4);
POD        = Ref(O,-4);
PCD        = Ref(C,-4);
PHE        = Ref(H,-5);
PLE        = Ref(L,-5);
POE        = Ref(O,-5);
PCE        = Ref(C,-5);
PHF        = Ref(H,-6);
PLF        = Ref(L,-6);
POF        = Ref(O,-6);
PCF        = Ref(C,-6);
PHG        = Ref(H,-7);
PLG        = Ref(L,-7);
POG        = Ref(O,-7);
PCG        = Ref(C,-7);
PHH        = Ref(H,-8);
PLH        = Ref(L,-8);
POH        = Ref(O,-8);
PCH        = Ref(C,-8);
 
PCI        = Ref(C,-9);
PCJ        = Ref(C,-10);
PCK        = Ref(C,-11);
PCL          = Ref(C,-12);
PCM          = Ref(C,-13);
PCN          = Ref(C,-14);
PCO          = Ref(C,-15);
 
 
 
 
 
 
 
_SECTION_BEGIN("ema_crossover");
 
 
 
 
  
 
   
P5=C;
P10=(PCA+C)/2;
P15=(PCB+PCA+C)/3;
P20=(PCC+PCB+PCA+C)/4;
P25=(PCD+PCC+PCB+PCA+C)/5;
P30=(PCE+PCD+PCC+PCB+PCA+C)/6;
P35=(PCF+PCE+PCD+PCC+PCB+PCA+C)/7;
P40=(PCG+PCF+PCE+PCD+PCC+PCB+PCA+C)/8;
P45=(PCH+PCG+PCF+PCE+PCD+PCC+PCB+PCA+C)/9;
P50=(PCI+PCH+PCG+PCF+PCE+PCD+PCC+PCB+PCA+C)/10;
P55=(PCJ+PCI+PCH+PCG+PCF+PCE+PCD+PCC+PCB+PCA+C)/11;
P60=(PCK+PCJ+PCI+PCH+PCG+PCF+PCE+PCD+PCC+PCB+PCA+C)/12;
P65=(PCO+PCN+PCL+PCK+PCJ+PCI+PCH+PCG+PCF+PCE+PCD+PCC+PCB+PCA+C)/15;
 
 
 
 
PP5 = MA(P5,20);
 
PP10 = MA(P10,20);
PP20 = MA(P20,20) ;
PP30 = MA(P30,20) ;
PP40 = MA(P40,20) ;
PP50 = MA(P50,20);
PP60 = MA(P60,20);
PP15 = MA(P15,20) ;
PP25 = MA(P25,20);
PP35 = MA(P35,20);
PP45 = MA(P45,20);
PP55 = MA(P55,20);
PP60 = MA(P60,20);
 
 
 
/*Buy=PP60<PP30 AND PP50<PP20 AND PP40<PP10
 AND PP55<PP25 AND PP45<PP15 AND PP35<PP5  AND PP5<PCA AND PHA<C;
Sell=PP60>PP30 AND PP50>PP20 AND PP40>PP10
AND PP55>PP25 AND PP45>PP15 AND PP35>PP5 AND PP5>PCA AND PLA>C;*/
Buy=PP60<PP5  AND PHA<C;
Sell=PP60>PP5 AND PLA>C;
Buy= ExRem( Buy, Sell );
Sell= ExRem( Sell, Buy );
 
 
 
 
Plot(EMA(P15,15),"",colorWhite,styleLine);
Plot(MA(P10,1),"",colorRed,styleLine);
Plot(EMA(P15,1),"",colorRed,styleLine);
Plot(MA(P20,1),"",colorRed,styleLine);
Plot(MA(P25,1),"",colorRed,styleLine);
Plot(MA(P30,1),"",colorYellow,styleLine);
Plot(MA(P35,1),"",colorYellow,styleLine);
Plot(MA(P40,1),"",colorYellow,styleLine);
Plot(MA(P45,1),"",colorYellow,styleLine);
Plot(MA(P50,1),"",colorYellow,styleLine);
Plot(MA(P15,5),"",colorBlue,styleLine);
Plot(MA(P65,2),"",colorWhite,styleLine);
 
 
 
Plot(MA(C,200),"",colorYellow,styleLine);
 
 
 
 
PlotShapes(IIf(Buy, shapeHollowUpTriangle, shapeNone),colorWhite, 0,L, Offset=-27);
PlotShapes(IIf(Sell, shapeHollowDownTriangle, shapeNone),colorRed, 0,H, Offset=-27);
PlotShapes(IIf(Buy, shapeHollowUpArrow, shapeNone),colorWhite, 0,L, Offset=-27);
PlotShapes(IIf(Sell, shapeHollowDownArrow, shapeNone),colorRed, 0,H, Offset=-27);
 
GraphXSpace = 15;
 
dist = 1.5*ATR(25);
dist1 = 1.5*ATR(25);
 
for( i = 0; i < BarCount; i++ )
{
 
 
if( Buy[i] )
{
 
PlotText( "\nBuy Above    :" + H[ i ] +"\nT1= " + (H[i]*1.005)      +"\nSL= " + (PLA[i]-.25), i, L[ i ]-dist[i], colorGreen, colorBlack );
}
if( Sell[i] )
{
PlotText( "Sell Blow:" + L[ i ]  +"\nT1= " + (L[i]*0.995) +"\nSL= " + (PHA[i]+.25), i, H[ i ]+dist1[i], colorRed, colorBlack );
}
}
 
 
 
 
 
Filter= Buy OR Sell
 
 
 
 
 
        GfxSelectFont( "Arial", 10, 700, False );
    GfxSetTextAlign(0);
   GfxTextOut( ": :dhibinesh afl 15 MINTS ONLY     : :", 550, 30);
 
///////////////////////////////////////////////
 
 
 
//MY MAIL CON;TKM109BALA@GMAIL.COM
 
      
Back