blib/lib/PDL/Finance/TA.pm

filter: Statementstmt 100% 148 / 148 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 151 / 151 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TA.xs ↑ Summary
1 #
2 # GENERATED WITH PDL::PP from TA.pd! Don't modify!
3 #
4 package PDL::Finance::TA;
5  
6 3 our @EXPORT_OK = qw(ta_bbands ta_dema ta_ema ta_ht_trendline ta_kama ta_ma ta_mama ta_mavp ta_midpoint ta_midprice ta_sar ta_sarext ta_sma ta_t3 ta_tema ta_trima ta_wma ta_atr ta_natr ta_trange ta_adx ta_adxr ta_apo ta_aroon ta_aroonosc ta_bop ta_cci ta_cmo ta_dx ta_macd ta_macdext ta_macdfix ta_mfi ta_minus_di ta_minus_dm ta_mom ta_plus_di ta_plus_dm ta_ppo ta_roc ta_rocp ta_rocr ta_rocr100 ta_rsi ta_stoch ta_stochf ta_stochrsi ta_trix ta_ultosc ta_willr ta_ht_dcperiod ta_ht_dcphase ta_ht_phasor ta_ht_sine ta_ht_trendmode ta_ad ta_adosc ta_obv ta_cdl2crows ta_cdl3blackcrows ta_cdl3inside ta_cdl3linestrike ta_cdl3outside ta_cdl3starsinsouth ta_cdl3whitesoldiers ta_cdlabandonedbaby ta_cdladvanceblock ta_cdlbelthold ta_cdlbreakaway ta_cdlclosingmarubozu ta_cdlconcealbabyswall ta_cdlcounterattack ta_cdldarkcloudcover ta_cdldoji ta_cdldojistar ta_cdldragonflydoji ta_cdlengulfing ta_cdleveningdojistar ta_cdleveningstar ta_cdlgapsidesidewhite ta_cdlgravestonedoji ta_cdlhammer ta_cdlhangingman ta_cdlharami ta_cdlharamicross ta_cdlhighwave ta_cdlhikkake ta_cdlhikkakemod ta_cdlhomingpigeon ta_cdlidentical3crows ta_cdlinneck ta_cdlinvertedhammer ta_cdlkicking ta_cdlkickingbylength ta_cdlladderbottom ta_cdllongleggeddoji ta_cdllongline ta_cdlmarubozu ta_cdlmatchinglow ta_cdlmathold ta_cdlmorningdojistar ta_cdlmorningstar ta_cdlonneck ta_cdlpiercing ta_cdlrickshawman ta_cdlrisefall3methods ta_cdlseparatinglines ta_cdlshootingstar ta_cdlshortline ta_cdlspinningtop ta_cdlstalledpattern ta_cdlsticksandwich ta_cdltakuri ta_cdltasukigap ta_cdlthrusting ta_cdltristar ta_cdlunique3river ta_cdlupsidegap2crows ta_cdlxsidegap3methods ta_beta ta_correl ta_linearreg ta_linearreg_angle ta_linearreg_intercept ta_linearreg_slope ta_stddev ta_tsf ta_var ta_avgprice ta_medprice ta_typprice ta_wclprice );
7 3 our %EXPORT_TAGS = (Func=>\@EXPORT_OK);
8  
9 3 ▶use PDL::Core;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use PDL::Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use DynaLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 3 our $VERSION = '0.010';
15 3 our @ISA = ( 'PDL::Exporter','DynaLoader' );
16 3 push @PDL::Core::PP, __PACKAGE__;
17 3 bootstrap PDL::Finance::TA $VERSION;
18  
19  
20  
21  
22  
23  
24  
25  
26 #line 7 "TA.pd"
27  
28 =head1 NAME
29  
30 PDL::Finance::TA - Technical Analysis Library (http://ta-lib.org) bindings for PDL
31  
32 =head1 SYNOPSIS
33  
34 use PDL;
35 use PDL::Finance::TA;
36  
37 # first load market data you want to analyze
38 my $open = ... ; # 1D piddle
39 my $high = ... ; # 1D piddle
40 my $low = ... ; # 1D piddle
41 my $close = ... ; # 1D piddle
42 my $volume = ... ; # 1D piddle
43  
44 my $period = 20;
45 my $moving_average = ta_sma($close, $period);
46 my $money_flow_index = ta_mfi($high, $low, $close, $volume, $period);
47 # both $moving_average and $money_flow_index are 1D piddles
48  
49 =head1 DESCRIPTION
50  
51 TA-Lib library - L<http://ta-lib.org> - is a multi-platform tool for market analysis. TA-Lib is widely used by trading
52 software developers requiring to perform technical analysis of financial market data.
53  
54 This module provides an L<PDL> interface for TA-Lib library. It combines rich TA-Lib functionality with excellent
55 L<PDL> performance of handling huge data.
56  
57 If you are not a L<PDL> user you might be interested in L<Finance::TA|Finance::TA> module which provides approximately
58 the same set of functions working with common perl data structures (which is fine if you are not about to process large
59 data sets and if you generally do not worry about performace).
60  
61 =head1 FUNCTION INDEX
62  
63 =head2 Group: Overlap Studies
64  
65 L<ta_bbands|/ta_bbands> (Bollinger Bands), L<ta_dema|/ta_dema> (Double Exponential Moving Average), L<ta_ema|/ta_ema> (Exponential Moving Average), L<ta_ht_trendline|/ta_ht_trendline> (Hilbert Transform - Instantaneous Trendline), L<ta_kama|/ta_kama> (Kaufman Adaptive Moving Average), L<ta_ma|/ta_ma> (Moving average), L<ta_mama|/ta_mama> (MESA Adaptive Moving Average), L<ta_mavp|/ta_mavp> (Moving average with variable period), L<ta_midpoint|/ta_midpoint> (MidPoint over period), L<ta_midprice|/ta_midprice> (Midpoint Price over period), L<ta_sar|/ta_sar> (Parabolic SAR), L<ta_sarext|/ta_sarext> (Parabolic SAR - Extended), L<ta_sma|/ta_sma> (Simple Moving Average), L<ta_t3|/ta_t3> (Triple Exponential Moving Average (T3)), L<ta_tema|/ta_tema> (Triple Exponential Moving Average), L<ta_trima|/ta_trima> (Triangular Moving Average), L<ta_wma|/ta_wma> (Weighted Moving Average)
66  
67 =head2 Group: Volatility Indicators
68  
69 L<ta_atr|/ta_atr> (Average True Range), L<ta_natr|/ta_natr> (Normalized Average True Range), L<ta_trange|/ta_trange> (True Range)
70  
71 =head2 Group: Momentum Indicators
72  
73 L<ta_adx|/ta_adx> (Average Directional Movement Index), L<ta_adxr|/ta_adxr> (Average Directional Movement Index Rating), L<ta_apo|/ta_apo> (Absolute Price Oscillator), L<ta_aroon|/ta_aroon> (Aroon), L<ta_aroonosc|/ta_aroonosc> (Aroon Oscillator), L<ta_bop|/ta_bop> (Balance Of Power), L<ta_cci|/ta_cci> (Commodity Channel Index), L<ta_cmo|/ta_cmo> (Chande Momentum Oscillator), L<ta_dx|/ta_dx> (Directional Movement Index), L<ta_macd|/ta_macd> (Moving Average Convergence/Divergence), L<ta_macdext|/ta_macdext> (MACD with controllable MA type), L<ta_macdfix|/ta_macdfix> (Moving Average Convergence/Divergence Fix 12/26), L<ta_mfi|/ta_mfi> (Money Flow Index), L<ta_minus_di|/ta_minus_di> (Minus Directional Indicator), L<ta_minus_dm|/ta_minus_dm> (Minus Directional Movement), L<ta_mom|/ta_mom> (Momentum), L<ta_plus_di|/ta_plus_di> (Plus Directional Indicator), L<ta_plus_dm|/ta_plus_dm> (Plus Directional Movement), L<ta_ppo|/ta_ppo> (Percentage Price Oscillator), L<ta_roc|/ta_roc> (Rate of change : ((price/prevPrice)-1)*100), L<ta_rocp|/ta_rocp> (Rate of change Percentage: (price-prevPrice)/prevPrice), L<ta_rocr|/ta_rocr> (Rate of change ratio: (price/prevPrice)), L<ta_rocr100|/ta_rocr100> (Rate of change ratio 100 scale: (price/prevPrice)*100), L<ta_rsi|/ta_rsi> (Relative Strength Index), L<ta_stoch|/ta_stoch> (Stochastic), L<ta_stochf|/ta_stochf> (Stochastic Fast), L<ta_stochrsi|/ta_stochrsi> (Stochastic Relative Strength Index), L<ta_trix|/ta_trix> (1-day Rate-Of-Change (ROC) of a Triple Smooth EMA), L<ta_ultosc|/ta_ultosc> (Ultimate Oscillator), L<ta_willr|/ta_willr> (Williams' %R)
74  
75 =head2 Group: Cycle Indicators
76  
77 L<ta_ht_dcperiod|/ta_ht_dcperiod> (Hilbert Transform - Dominant Cycle Period), L<ta_ht_dcphase|/ta_ht_dcphase> (Hilbert Transform - Dominant Cycle Phase), L<ta_ht_phasor|/ta_ht_phasor> (Hilbert Transform - Phasor Components), L<ta_ht_sine|/ta_ht_sine> (Hilbert Transform - SineWave), L<ta_ht_trendmode|/ta_ht_trendmode> (Hilbert Transform - Trend vs Cycle Mode)
78  
79 =head2 Group: Volume Indicators
80  
81 L<ta_ad|/ta_ad> (Chaikin A/D Line), L<ta_adosc|/ta_adosc> (Chaikin A/D Oscillator), L<ta_obv|/ta_obv> (On Balance Volume)
82  
83 =head2 Group: Pattern Recognition
84  
85 L<ta_cdl2crows|/ta_cdl2crows> (Two Crows), L<ta_cdl3blackcrows|/ta_cdl3blackcrows> (Three Black Crows), L<ta_cdl3inside|/ta_cdl3inside> (Three Inside Up/Down), L<ta_cdl3linestrike|/ta_cdl3linestrike> (Three-Line Strike ), L<ta_cdl3outside|/ta_cdl3outside> (Three Outside Up/Down), L<ta_cdl3starsinsouth|/ta_cdl3starsinsouth> (Three Stars In The South), L<ta_cdl3whitesoldiers|/ta_cdl3whitesoldiers> (Three Advancing White Soldiers), L<ta_cdlabandonedbaby|/ta_cdlabandonedbaby> (Abandoned Baby), L<ta_cdladvanceblock|/ta_cdladvanceblock> (Advance Block), L<ta_cdlbelthold|/ta_cdlbelthold> (Belt-hold), L<ta_cdlbreakaway|/ta_cdlbreakaway> (Breakaway), L<ta_cdlclosingmarubozu|/ta_cdlclosingmarubozu> (Closing Marubozu), L<ta_cdlconcealbabyswall|/ta_cdlconcealbabyswall> (Concealing Baby Swallow), L<ta_cdlcounterattack|/ta_cdlcounterattack> (Counterattack), L<ta_cdldarkcloudcover|/ta_cdldarkcloudcover> (Dark Cloud Cover), L<ta_cdldoji|/ta_cdldoji> (Doji), L<ta_cdldojistar|/ta_cdldojistar> (Doji Star), L<ta_cdldragonflydoji|/ta_cdldragonflydoji> (Dragonfly Doji), L<ta_cdlengulfing|/ta_cdlengulfing> (Engulfing Pattern), L<ta_cdleveningdojistar|/ta_cdleveningdojistar> (Evening Doji Star), L<ta_cdleveningstar|/ta_cdleveningstar> (Evening Star), L<ta_cdlgapsidesidewhite|/ta_cdlgapsidesidewhite> (Up/Down-gap side-by-side white lines), L<ta_cdlgravestonedoji|/ta_cdlgravestonedoji> (Gravestone Doji), L<ta_cdlhammer|/ta_cdlhammer> (Hammer), L<ta_cdlhangingman|/ta_cdlhangingman> (Hanging Man), L<ta_cdlharami|/ta_cdlharami> (Harami Pattern), L<ta_cdlharamicross|/ta_cdlharamicross> (Harami Cross Pattern), L<ta_cdlhighwave|/ta_cdlhighwave> (High-Wave Candle), L<ta_cdlhikkake|/ta_cdlhikkake> (Hikkake Pattern), L<ta_cdlhikkakemod|/ta_cdlhikkakemod> (Modified Hikkake Pattern), L<ta_cdlhomingpigeon|/ta_cdlhomingpigeon> (Homing Pigeon), L<ta_cdlidentical3crows|/ta_cdlidentical3crows> (Identical Three Crows), L<ta_cdlinneck|/ta_cdlinneck> (In-Neck Pattern), L<ta_cdlinvertedhammer|/ta_cdlinvertedhammer> (Inverted Hammer), L<ta_cdlkicking|/ta_cdlkicking> (Kicking), L<ta_cdlkickingbylength|/ta_cdlkickingbylength> (Kicking - bull/bear determined by the longer marubozu), L<ta_cdlladderbottom|/ta_cdlladderbottom> (Ladder Bottom), L<ta_cdllongleggeddoji|/ta_cdllongleggeddoji> (Long Legged Doji), L<ta_cdllongline|/ta_cdllongline> (Long Line Candle), L<ta_cdlmarubozu|/ta_cdlmarubozu> (Marubozu), L<ta_cdlmatchinglow|/ta_cdlmatchinglow> (Matching Low), L<ta_cdlmathold|/ta_cdlmathold> (Mat Hold), L<ta_cdlmorningdojistar|/ta_cdlmorningdojistar> (Morning Doji Star), L<ta_cdlmorningstar|/ta_cdlmorningstar> (Morning Star), L<ta_cdlonneck|/ta_cdlonneck> (On-Neck Pattern), L<ta_cdlpiercing|/ta_cdlpiercing> (Piercing Pattern), L<ta_cdlrickshawman|/ta_cdlrickshawman> (Rickshaw Man), L<ta_cdlrisefall3methods|/ta_cdlrisefall3methods> (Rising/Falling Three Methods), L<ta_cdlseparatinglines|/ta_cdlseparatinglines> (Separating Lines), L<ta_cdlshootingstar|/ta_cdlshootingstar> (Shooting Star), L<ta_cdlshortline|/ta_cdlshortline> (Short Line Candle), L<ta_cdlspinningtop|/ta_cdlspinningtop> (Spinning Top), L<ta_cdlstalledpattern|/ta_cdlstalledpattern> (Stalled Pattern), L<ta_cdlsticksandwich|/ta_cdlsticksandwich> (Stick Sandwich), L<ta_cdltakuri|/ta_cdltakuri> (Takuri (Dragonfly Doji with very long lower shadow)), L<ta_cdltasukigap|/ta_cdltasukigap> (Tasuki Gap), L<ta_cdlthrusting|/ta_cdlthrusting> (Thrusting Pattern), L<ta_cdltristar|/ta_cdltristar> (Tristar Pattern), L<ta_cdlunique3river|/ta_cdlunique3river> (Unique 3 River), L<ta_cdlupsidegap2crows|/ta_cdlupsidegap2crows> (Upside Gap Two Crows), L<ta_cdlxsidegap3methods|/ta_cdlxsidegap3methods> (Upside/Downside Gap Three Methods)
86  
87 =head2 Group: Statistic Functions
88  
89 L<ta_beta|/ta_beta> (Beta), L<ta_correl|/ta_correl> (Pearson's Correlation Coefficient (r)), L<ta_linearreg|/ta_linearreg> (Linear Regression), L<ta_linearreg_angle|/ta_linearreg_angle> (Linear Regression Angle), L<ta_linearreg_intercept|/ta_linearreg_intercept> (Linear Regression Intercept), L<ta_linearreg_slope|/ta_linearreg_slope> (Linear Regression Slope), L<ta_stddev|/ta_stddev> (Standard Deviation), L<ta_tsf|/ta_tsf> (Time Series Forecast), L<ta_var|/ta_var> (Variance)
90  
91 =head2 Group: Price Transform
92  
93 L<ta_avgprice|/ta_avgprice> (Average Price), L<ta_medprice|/ta_medprice> (Median Price), L<ta_typprice|/ta_typprice> (Typical Price), L<ta_wclprice|/ta_wclprice> (Weighted Close Price)
94  
95 =head1 HANDLING BAD VALUES
96  
97 Most of the available functions may return BAD values, for example:
98  
99 use PDL;
100 use PDL::Finance::TA;
101 my $PD = pdl([0, 1, 2, 3, 4, 5]);
102 my $MA = ta_ma($PD, 3, 1);
103 print $MA; # prints: [BAD BAD 1 2 3 4]
104  
105 All available functions handles BAD values in input piddles (BAD values at the beginning are skipped), for example:
106  
107 use PDL;
108 use PDL::Finance::TA;
109 my $PD = pdl([0, 1, 2, 3, 4, 5]);
110 my $MA1 = ta_ma($PD, 3, 1);
111 say $MA1; # prints: [BAD BAD 1 2 3 4]
112 my $MA2 = ta_ma($MA1, 3, 1);
113 say $MA2; # prints: [BAD BAD BAD BAD 2 3]
114  
115 =cut
116 #line 117 "TA.pm"
117  
118  
119 =head1 FUNCTIONS
120  
121 =cut
122  
123  
124  
125  
126  
127  
128 =head2 ta_bbands
129  
130 =for sig
131  
132 Signature: (double inpdl(n); int InTimePeriod(); double InNbDevUp(); double InNbDevDn(); int InMAType(); double [o]outpdlUpperBand(n); double [o]outpdlMiddleBand(n); double [o]outpdlLowerBand(n))
133 Types: (double)
134  
135 =for usage
136  
137 ($outpdlUpperBand, $outpdlMiddleBand, $outpdlLowerBand) = ta_bbands($inpdl, $InTimePeriod, $InNbDevUp, $InNbDevDn, $InMAType);
138 ta_bbands($inpdl, $InTimePeriod, $InNbDevUp, $InNbDevDn, $InMAType, $outpdlUpperBand, $outpdlMiddleBand, $outpdlLowerBand); # all arguments given
139 ($outpdlUpperBand, $outpdlMiddleBand, $outpdlLowerBand) = $inpdl->ta_bbands($InTimePeriod, $InNbDevUp, $InNbDevDn, $InMAType); # method call
140 $inpdl->ta_bbands($InTimePeriod, $InNbDevUp, $InNbDevDn, $InMAType, $outpdlUpperBand, $outpdlMiddleBand, $outpdlLowerBand);
141  
142 Bollinger Bands
143  
144 ($outpdlUpperBand, $outpdlMiddleBand, $outpdlLowerBand) = ta_bbands($inpdl, $InTimePeriod, $InNbDevUp, $InNbDevDn, $InMAType);
145  
146 # $inpdl - 1D piddle with input data
147 # $InTimePeriod [Number of period] - integer
148 # default: 5
149 # valid range: min=2 max=100000
150 # $InNbDevUp [Deviation multiplier for upper band] - real number
151 # default: 2
152 # valid range: min=-3e+037 max=3e+037
153 # $InNbDevDn [Deviation multiplier for lower band] - real number
154 # default: 2
155 # valid range: min=-3e+037 max=3e+037
156 # $InMAType [Type of Moving Average] - integer
157 # default: 0
158 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
159 # returns: $outpdlUpperBand - 1D piddle
160 # returns: $outpdlMiddleBand - 1D piddle
161 # returns: $outpdlLowerBand - 1D piddle
162  
163 =pod
164  
165 Broadcasts over its inputs.
166  
167 =for bad
168  
169 C<ta_bbands> processes bad values.
170 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
171  
172 =cut
173  
174  
175  
176  
177 3 *ta_bbands = \&PDL::ta_bbands;
178  
179  
180  
181  
182  
183  
184 =head2 ta_dema
185  
186 =for sig
187  
188 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
189 Types: (double)
190  
191 =for usage
192  
193 $outpdl = ta_dema($inpdl, $InTimePeriod);
194 ta_dema($inpdl, $InTimePeriod, $outpdl); # all arguments given
195 $outpdl = $inpdl->ta_dema($InTimePeriod); # method call
196 $inpdl->ta_dema($InTimePeriod, $outpdl);
197  
198 Double Exponential Moving Average
199  
200 $outpdl = ta_dema($inpdl, $InTimePeriod);
201  
202 # $inpdl - 1D piddle with input data
203 # $InTimePeriod [Number of period] - integer
204 # default: 30
205 # valid range: min=2 max=100000
206 # returns: $outpdl - 1D piddle
207  
208 =pod
209  
210 Broadcasts over its inputs.
211  
212 =for bad
213  
214 C<ta_dema> processes bad values.
215 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
216  
217 =cut
218  
219  
220  
221  
222 3 *ta_dema = \&PDL::ta_dema;
223  
224  
225  
226  
227  
228  
229 =head2 ta_ema
230  
231 =for sig
232  
233 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
234 Types: (double)
235  
236 =for usage
237  
238 $outpdl = ta_ema($inpdl, $InTimePeriod);
239 ta_ema($inpdl, $InTimePeriod, $outpdl); # all arguments given
240 $outpdl = $inpdl->ta_ema($InTimePeriod); # method call
241 $inpdl->ta_ema($InTimePeriod, $outpdl);
242  
243 Exponential Moving Average
244  
245 $outpdl = ta_ema($inpdl, $InTimePeriod);
246  
247 # $inpdl - 1D piddle with input data
248 # $InTimePeriod [Number of period] - integer
249 # default: 30
250 # valid range: min=2 max=100000
251 # returns: $outpdl - 1D piddle
252  
253 =pod
254  
255 Broadcasts over its inputs.
256  
257 =for bad
258  
259 C<ta_ema> processes bad values.
260 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
261  
262 =cut
263  
264  
265  
266  
267 3 *ta_ema = \&PDL::ta_ema;
268  
269  
270  
271  
272  
273  
274 =head2 ta_ht_trendline
275  
276 =for sig
277  
278 Signature: (double inpdl(n); double [o]outpdl(n))
279 Types: (double)
280  
281 =for usage
282  
283 $outpdl = ta_ht_trendline($inpdl);
284 ta_ht_trendline($inpdl, $outpdl); # all arguments given
285 $outpdl = $inpdl->ta_ht_trendline; # method call
286 $inpdl->ta_ht_trendline($outpdl);
287  
288 Hilbert Transform - Instantaneous Trendline
289  
290 $outpdl = ta_ht_trendline($inpdl);
291  
292 # $inpdl - 1D piddle with input data
293 # returns: $outpdl - 1D piddle
294  
295 =pod
296  
297 Broadcasts over its inputs.
298  
299 =for bad
300  
301 C<ta_ht_trendline> processes bad values.
302 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
303  
304 =cut
305  
306  
307  
308  
309 3 *ta_ht_trendline = \&PDL::ta_ht_trendline;
310  
311  
312  
313  
314  
315  
316 =head2 ta_kama
317  
318 =for sig
319  
320 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
321 Types: (double)
322  
323 =for usage
324  
325 $outpdl = ta_kama($inpdl, $InTimePeriod);
326 ta_kama($inpdl, $InTimePeriod, $outpdl); # all arguments given
327 $outpdl = $inpdl->ta_kama($InTimePeriod); # method call
328 $inpdl->ta_kama($InTimePeriod, $outpdl);
329  
330 Kaufman Adaptive Moving Average
331  
332 $outpdl = ta_kama($inpdl, $InTimePeriod);
333  
334 # $inpdl - 1D piddle with input data
335 # $InTimePeriod [Number of period] - integer
336 # default: 30
337 # valid range: min=2 max=100000
338 # returns: $outpdl - 1D piddle
339  
340 =pod
341  
342 Broadcasts over its inputs.
343  
344 =for bad
345  
346 C<ta_kama> processes bad values.
347 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
348  
349 =cut
350  
351  
352  
353  
354 3 *ta_kama = \&PDL::ta_kama;
355  
356  
357  
358  
359  
360  
361 =head2 ta_ma
362  
363 =for sig
364  
365 Signature: (double inpdl(n); int InTimePeriod(); int InMAType(); double [o]outpdl(n))
366 Types: (double)
367  
368 =for usage
369  
370 $outpdl = ta_ma($inpdl, $InTimePeriod, $InMAType);
371 ta_ma($inpdl, $InTimePeriod, $InMAType, $outpdl); # all arguments given
372 $outpdl = $inpdl->ta_ma($InTimePeriod, $InMAType); # method call
373 $inpdl->ta_ma($InTimePeriod, $InMAType, $outpdl);
374  
375 Moving average
376  
377 $outpdl = ta_ma($inpdl, $InTimePeriod, $InMAType);
378  
379 # $inpdl - 1D piddle with input data
380 # $InTimePeriod [Number of period] - integer
381 # default: 30
382 # valid range: min=1 max=100000
383 # $InMAType [Type of Moving Average] - integer
384 # default: 0
385 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
386 # returns: $outpdl - 1D piddle
387  
388 =pod
389  
390 Broadcasts over its inputs.
391  
392 =for bad
393  
394 C<ta_ma> processes bad values.
395 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
396  
397 =cut
398  
399  
400  
401  
402 3 *ta_ma = \&PDL::ta_ma;
403  
404  
405  
406  
407  
408  
409 =head2 ta_mama
410  
411 =for sig
412  
413 Signature: (double inpdl(n); double InFastLimit(); double InSlowLimit(); double [o]outMAMA(n); double [o]outFAMA(n))
414 Types: (double)
415  
416 =for usage
417  
418 ($outMAMA, $outFAMA) = ta_mama($inpdl, $InFastLimit, $InSlowLimit);
419 ta_mama($inpdl, $InFastLimit, $InSlowLimit, $outMAMA, $outFAMA); # all arguments given
420 ($outMAMA, $outFAMA) = $inpdl->ta_mama($InFastLimit, $InSlowLimit); # method call
421 $inpdl->ta_mama($InFastLimit, $InSlowLimit, $outMAMA, $outFAMA);
422  
423 MESA Adaptive Moving Average
424  
425 ($outMAMA, $outFAMA) = ta_mama($inpdl, $InFastLimit, $InSlowLimit);
426  
427 # $inpdl - 1D piddle with input data
428 # $InFastLimit [Upper limit use in the adaptive algorithm] - real number
429 # default: 0.5
430 # valid range: min=0.01 max=0.99
431 # $InSlowLimit [Lower limit use in the adaptive algorithm] - real number
432 # default: 0.05
433 # valid range: min=0.01 max=0.99
434 # returns: $outMAMA - 1D piddle
435 # returns: $outFAMA - 1D piddle
436  
437 =pod
438  
439 Broadcasts over its inputs.
440  
441 =for bad
442  
443 C<ta_mama> processes bad values.
444 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
445  
446 =cut
447  
448  
449  
450  
451 3 *ta_mama = \&PDL::ta_mama;
452  
453  
454  
455  
456  
457  
458 =head2 ta_mavp
459  
460 =for sig
461  
462 Signature: (double inpdl(n); double inPeriods(n); int InMinPeriod(); int InMaxPeriod(); int InMAType(); double [o]outpdl(n))
463 Types: (double)
464  
465 =for usage
466  
467 $outpdl = ta_mavp($inpdl, $inPeriods, $InMinPeriod, $InMaxPeriod, $InMAType);
468 ta_mavp($inpdl, $inPeriods, $InMinPeriod, $InMaxPeriod, $InMAType, $outpdl); # all arguments given
469 $outpdl = $inpdl->ta_mavp($inPeriods, $InMinPeriod, $InMaxPeriod, $InMAType); # method call
470 $inpdl->ta_mavp($inPeriods, $InMinPeriod, $InMaxPeriod, $InMAType, $outpdl);
471  
472 Moving average with variable period
473  
474 $outpdl = ta_mavp($inpdl, $inPeriods, $InMinPeriod, $InMaxPeriod, $InMAType);
475  
476 # $inpdl - 1D piddle with input data
477 # $inPeriods - 1D piddle
478 # $InMinPeriod [Value less than minimum will be changed to Minimum period] - integer
479 # default: 2
480 # valid range: min=2 max=100000
481 # $InMaxPeriod [Value higher than maximum will be changed to Maximum period] - integer
482 # default: 30
483 # valid range: min=2 max=100000
484 # $InMAType [Type of Moving Average] - integer
485 # default: 0
486 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
487 # returns: $outpdl - 1D piddle
488  
489 =pod
490  
491 Broadcasts over its inputs.
492  
493 =for bad
494  
495 C<ta_mavp> processes bad values.
496 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
497  
498 =cut
499  
500  
501  
502  
503 3 *ta_mavp = \&PDL::ta_mavp;
504  
505  
506  
507  
508  
509  
510 =head2 ta_midpoint
511  
512 =for sig
513  
514 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
515 Types: (double)
516  
517 =for usage
518  
519 $outpdl = ta_midpoint($inpdl, $InTimePeriod);
520 ta_midpoint($inpdl, $InTimePeriod, $outpdl); # all arguments given
521 $outpdl = $inpdl->ta_midpoint($InTimePeriod); # method call
522 $inpdl->ta_midpoint($InTimePeriod, $outpdl);
523  
524 MidPoint over period
525  
526 $outpdl = ta_midpoint($inpdl, $InTimePeriod);
527  
528 # $inpdl - 1D piddle with input data
529 # $InTimePeriod [Number of period] - integer
530 # default: 14
531 # valid range: min=2 max=100000
532 # returns: $outpdl - 1D piddle
533  
534 =pod
535  
536 Broadcasts over its inputs.
537  
538 =for bad
539  
540 C<ta_midpoint> processes bad values.
541 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
542  
543 =cut
544  
545  
546  
547  
548 3 *ta_midpoint = \&PDL::ta_midpoint;
549  
550  
551  
552  
553  
554  
555 =head2 ta_midprice
556  
557 =for sig
558  
559 Signature: (double high(n); double low(n); int InTimePeriod(); double [o]outpdl(n))
560 Types: (double)
561  
562 =for usage
563  
564 $outpdl = ta_midprice($high, $low, $InTimePeriod);
565 ta_midprice($high, $low, $InTimePeriod, $outpdl); # all arguments given
566 $outpdl = $high->ta_midprice($low, $InTimePeriod); # method call
567 $high->ta_midprice($low, $InTimePeriod, $outpdl);
568  
569 Midpoint Price over period
570  
571 $outpdl = ta_midprice($high, $low, $InTimePeriod);
572  
573 # $high, $low - 1D piddles, both have to be the same size
574 # $InTimePeriod [Number of period] - integer
575 # default: 14
576 # valid range: min=2 max=100000
577 # returns: $outpdl - 1D piddle
578  
579 =pod
580  
581 Broadcasts over its inputs.
582  
583 =for bad
584  
585 C<ta_midprice> processes bad values.
586 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
587  
588 =cut
589  
590  
591  
592  
593 3 *ta_midprice = \&PDL::ta_midprice;
594  
595  
596  
597  
598  
599  
600 =head2 ta_sar
601  
602 =for sig
603  
604 Signature: (double high(n); double low(n); double InAcceleration(); double InMaximum(); double [o]outpdl(n))
605 Types: (double)
606  
607 =for usage
608  
609 $outpdl = ta_sar($high, $low, $InAcceleration, $InMaximum);
610 ta_sar($high, $low, $InAcceleration, $InMaximum, $outpdl); # all arguments given
611 $outpdl = $high->ta_sar($low, $InAcceleration, $InMaximum); # method call
612 $high->ta_sar($low, $InAcceleration, $InMaximum, $outpdl);
613  
614 Parabolic SAR
615  
616 $outpdl = ta_sar($high, $low, $InAcceleration, $InMaximum);
617  
618 # $high, $low - 1D piddles, both have to be the same size
619 # $InAcceleration [Acceleration Factor used up to the Maximum value] - real number
620 # default: 0.02
621 # valid range: min=0 max=3e+037
622 # $InMaximum [Acceleration Factor Maximum value] - real number
623 # default: 0.2
624 # valid range: min=0 max=3e+037
625 # returns: $outpdl - 1D piddle
626  
627 =pod
628  
629 Broadcasts over its inputs.
630  
631 =for bad
632  
633 C<ta_sar> processes bad values.
634 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
635  
636 =cut
637  
638  
639  
640  
641 3 *ta_sar = \&PDL::ta_sar;
642  
643  
644  
645  
646  
647  
648 =head2 ta_sarext
649  
650 =for sig
651  
652 Signature: (double high(n); double low(n); double InStartValue(); double InOffsetOnReverse(); double InAccelerationInitLong(); double InAccelerationLong(); double InAccelerationMaxLong(); double InAccelerationInitShort(); double InAccelerationShort(); double InAccelerationMaxShort(); double [o]outpdl(n))
653 Types: (double)
654  
655 =for usage
656  
657 $outpdl = ta_sarext($high, $low, $InStartValue, $InOffsetOnReverse, $InAccelerationInitLong, $InAccelerationLong, $InAccelerationMaxLong, $InAccelerationInitShort, $InAccelerationShort, $InAccelerationMaxShort);
658 ta_sarext($high, $low, $InStartValue, $InOffsetOnReverse, $InAccelerationInitLong, $InAccelerationLong, $InAccelerationMaxLong, $InAccelerationInitShort, $InAccelerationShort, $InAccelerationMaxShort, $outpdl); # all arguments given
659 $outpdl = $high->ta_sarext($low, $InStartValue, $InOffsetOnReverse, $InAccelerationInitLong, $InAccelerationLong, $InAccelerationMaxLong, $InAccelerationInitShort, $InAccelerationShort, $InAccelerationMaxShort); # method call
660 $high->ta_sarext($low, $InStartValue, $InOffsetOnReverse, $InAccelerationInitLong, $InAccelerationLong, $InAccelerationMaxLong, $InAccelerationInitShort, $InAccelerationShort, $InAccelerationMaxShort, $outpdl);
661  
662 Parabolic SAR - Extended
663  
664 $outpdl = ta_sarext($high, $low, $InStartValue, $InOffsetOnReverse, $InAccelerationInitLong, $InAccelerationLong, $InAccelerationMaxLong, $InAccelerationInitShort, $InAccelerationShort, $InAccelerationMaxShort);
665  
666 # $high, $low - 1D piddles, both have to be the same size
667 # $InStartValue [Start value and direction. 0 for Auto, >0 for Long, <0 for Short] - real number
668 # default: 0
669 # valid range: min=-3e+037 max=3e+037
670 # $InOffsetOnReverse [Percent offset added/removed to initial stop on short/long reversal] - real number
671 # default: 0
672 # valid range: min=0 max=3e+037
673 # $InAccelerationInitLong [Acceleration Factor initial value for the Long direction] - real number
674 # default: 0.02
675 # valid range: min=0 max=3e+037
676 # $InAccelerationLong [Acceleration Factor for the Long direction] - real number
677 # default: 0.02
678 # valid range: min=0 max=3e+037
679 # $InAccelerationMaxLong [Acceleration Factor maximum value for the Long direction] - real number
680 # default: 0.2
681 # valid range: min=0 max=3e+037
682 # $InAccelerationInitShort [Acceleration Factor initial value for the Short direction] - real number
683 # default: 0.02
684 # valid range: min=0 max=3e+037
685 # $InAccelerationShort [Acceleration Factor for the Short direction] - real number
686 # default: 0.02
687 # valid range: min=0 max=3e+037
688 # $InAccelerationMaxShort [Acceleration Factor maximum value for the Short direction] - real number
689 # default: 0.2
690 # valid range: min=0 max=3e+037
691 # returns: $outpdl - 1D piddle
692  
693 =pod
694  
695 Broadcasts over its inputs.
696  
697 =for bad
698  
699 C<ta_sarext> processes bad values.
700 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
701  
702 =cut
703  
704  
705  
706  
707 3 *ta_sarext = \&PDL::ta_sarext;
708  
709  
710  
711  
712  
713  
714 =head2 ta_sma
715  
716 =for sig
717  
718 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
719 Types: (double)
720  
721 =for usage
722  
723 $outpdl = ta_sma($inpdl, $InTimePeriod);
724 ta_sma($inpdl, $InTimePeriod, $outpdl); # all arguments given
725 $outpdl = $inpdl->ta_sma($InTimePeriod); # method call
726 $inpdl->ta_sma($InTimePeriod, $outpdl);
727  
728 Simple Moving Average
729  
730 $outpdl = ta_sma($inpdl, $InTimePeriod);
731  
732 # $inpdl - 1D piddle with input data
733 # $InTimePeriod [Number of period] - integer
734 # default: 30
735 # valid range: min=2 max=100000
736 # returns: $outpdl - 1D piddle
737  
738 =pod
739  
740 Broadcasts over its inputs.
741  
742 =for bad
743  
744 C<ta_sma> processes bad values.
745 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
746  
747 =cut
748  
749  
750  
751  
752 3 *ta_sma = \&PDL::ta_sma;
753  
754  
755  
756  
757  
758  
759 =head2 ta_t3
760  
761 =for sig
762  
763 Signature: (double inpdl(n); int InTimePeriod(); double InVFactor(); double [o]outpdl(n))
764 Types: (double)
765  
766 =for usage
767  
768 $outpdl = ta_t3($inpdl, $InTimePeriod, $InVFactor);
769 ta_t3($inpdl, $InTimePeriod, $InVFactor, $outpdl); # all arguments given
770 $outpdl = $inpdl->ta_t3($InTimePeriod, $InVFactor); # method call
771 $inpdl->ta_t3($InTimePeriod, $InVFactor, $outpdl);
772  
773 Triple Exponential Moving Average (T3)
774  
775 $outpdl = ta_t3($inpdl, $InTimePeriod, $InVFactor);
776  
777 # $inpdl - 1D piddle with input data
778 # $InTimePeriod [Number of period] - integer
779 # default: 5
780 # valid range: min=2 max=100000
781 # $InVFactor [Volume Factor] - real number
782 # default: 0.7
783 # valid range: min=0 max=1
784 # returns: $outpdl - 1D piddle
785  
786 =pod
787  
788 Broadcasts over its inputs.
789  
790 =for bad
791  
792 C<ta_t3> processes bad values.
793 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
794  
795 =cut
796  
797  
798  
799  
800 3 *ta_t3 = \&PDL::ta_t3;
801  
802  
803  
804  
805  
806  
807 =head2 ta_tema
808  
809 =for sig
810  
811 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
812 Types: (double)
813  
814 =for usage
815  
816 $outpdl = ta_tema($inpdl, $InTimePeriod);
817 ta_tema($inpdl, $InTimePeriod, $outpdl); # all arguments given
818 $outpdl = $inpdl->ta_tema($InTimePeriod); # method call
819 $inpdl->ta_tema($InTimePeriod, $outpdl);
820  
821 Triple Exponential Moving Average
822  
823 $outpdl = ta_tema($inpdl, $InTimePeriod);
824  
825 # $inpdl - 1D piddle with input data
826 # $InTimePeriod [Number of period] - integer
827 # default: 30
828 # valid range: min=2 max=100000
829 # returns: $outpdl - 1D piddle
830  
831 =pod
832  
833 Broadcasts over its inputs.
834  
835 =for bad
836  
837 C<ta_tema> processes bad values.
838 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
839  
840 =cut
841  
842  
843  
844  
845 3 *ta_tema = \&PDL::ta_tema;
846  
847  
848  
849  
850  
851  
852 =head2 ta_trima
853  
854 =for sig
855  
856 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
857 Types: (double)
858  
859 =for usage
860  
861 $outpdl = ta_trima($inpdl, $InTimePeriod);
862 ta_trima($inpdl, $InTimePeriod, $outpdl); # all arguments given
863 $outpdl = $inpdl->ta_trima($InTimePeriod); # method call
864 $inpdl->ta_trima($InTimePeriod, $outpdl);
865  
866 Triangular Moving Average
867  
868 $outpdl = ta_trima($inpdl, $InTimePeriod);
869  
870 # $inpdl - 1D piddle with input data
871 # $InTimePeriod [Number of period] - integer
872 # default: 30
873 # valid range: min=2 max=100000
874 # returns: $outpdl - 1D piddle
875  
876 =pod
877  
878 Broadcasts over its inputs.
879  
880 =for bad
881  
882 C<ta_trima> processes bad values.
883 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
884  
885 =cut
886  
887  
888  
889  
890 3 *ta_trima = \&PDL::ta_trima;
891  
892  
893  
894  
895  
896  
897 =head2 ta_wma
898  
899 =for sig
900  
901 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
902 Types: (double)
903  
904 =for usage
905  
906 $outpdl = ta_wma($inpdl, $InTimePeriod);
907 ta_wma($inpdl, $InTimePeriod, $outpdl); # all arguments given
908 $outpdl = $inpdl->ta_wma($InTimePeriod); # method call
909 $inpdl->ta_wma($InTimePeriod, $outpdl);
910  
911 Weighted Moving Average
912  
913 $outpdl = ta_wma($inpdl, $InTimePeriod);
914  
915 # $inpdl - 1D piddle with input data
916 # $InTimePeriod [Number of period] - integer
917 # default: 30
918 # valid range: min=2 max=100000
919 # returns: $outpdl - 1D piddle
920  
921 =pod
922  
923 Broadcasts over its inputs.
924  
925 =for bad
926  
927 C<ta_wma> processes bad values.
928 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
929  
930 =cut
931  
932  
933  
934  
935 3 *ta_wma = \&PDL::ta_wma;
936  
937  
938  
939  
940  
941  
942 =head2 ta_atr
943  
944 =for sig
945  
946 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
947 Types: (double)
948  
949 =for usage
950  
951 $outpdl = ta_atr($high, $low, $close, $InTimePeriod);
952 ta_atr($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
953 $outpdl = $high->ta_atr($low, $close, $InTimePeriod); # method call
954 $high->ta_atr($low, $close, $InTimePeriod, $outpdl);
955  
956 Average True Range
957  
958 $outpdl = ta_atr($high, $low, $close, $InTimePeriod);
959  
960 # $high, $low, $close - 1D piddles, all have to be the same size
961 # $InTimePeriod [Number of period] - integer
962 # default: 14
963 # valid range: min=1 max=100000
964 # returns: $outpdl - 1D piddle
965  
966 =pod
967  
968 Broadcasts over its inputs.
969  
970 =for bad
971  
972 C<ta_atr> processes bad values.
973 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
974  
975 =cut
976  
977  
978  
979  
980 3 *ta_atr = \&PDL::ta_atr;
981  
982  
983  
984  
985  
986  
987 =head2 ta_natr
988  
989 =for sig
990  
991 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
992 Types: (double)
993  
994 =for usage
995  
996 $outpdl = ta_natr($high, $low, $close, $InTimePeriod);
997 ta_natr($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
998 $outpdl = $high->ta_natr($low, $close, $InTimePeriod); # method call
999 $high->ta_natr($low, $close, $InTimePeriod, $outpdl);
1000  
1001 Normalized Average True Range
1002  
1003 $outpdl = ta_natr($high, $low, $close, $InTimePeriod);
1004  
1005 # $high, $low, $close - 1D piddles, all have to be the same size
1006 # $InTimePeriod [Number of period] - integer
1007 # default: 14
1008 # valid range: min=1 max=100000
1009 # returns: $outpdl - 1D piddle
1010  
1011 =pod
1012  
1013 Broadcasts over its inputs.
1014  
1015 =for bad
1016  
1017 C<ta_natr> processes bad values.
1018 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1019  
1020 =cut
1021  
1022  
1023  
1024  
1025 3 *ta_natr = \&PDL::ta_natr;
1026  
1027  
1028  
1029  
1030  
1031  
1032 =head2 ta_trange
1033  
1034 =for sig
1035  
1036 Signature: (double high(n); double low(n); double close(n); double [o]outpdl(n))
1037 Types: (double)
1038  
1039 =for usage
1040  
1041 $outpdl = ta_trange($high, $low, $close);
1042 ta_trange($high, $low, $close, $outpdl); # all arguments given
1043 $outpdl = $high->ta_trange($low, $close); # method call
1044 $high->ta_trange($low, $close, $outpdl);
1045  
1046 True Range
1047  
1048 $outpdl = ta_trange($high, $low, $close);
1049  
1050 # $high, $low, $close - 1D piddles, all have to be the same size
1051 # returns: $outpdl - 1D piddle
1052  
1053 =pod
1054  
1055 Broadcasts over its inputs.
1056  
1057 =for bad
1058  
1059 C<ta_trange> processes bad values.
1060 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1061  
1062 =cut
1063  
1064  
1065  
1066  
1067 3 *ta_trange = \&PDL::ta_trange;
1068  
1069  
1070  
1071  
1072  
1073  
1074 =head2 ta_adx
1075  
1076 =for sig
1077  
1078 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
1079 Types: (double)
1080  
1081 =for usage
1082  
1083 $outpdl = ta_adx($high, $low, $close, $InTimePeriod);
1084 ta_adx($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
1085 $outpdl = $high->ta_adx($low, $close, $InTimePeriod); # method call
1086 $high->ta_adx($low, $close, $InTimePeriod, $outpdl);
1087  
1088 Average Directional Movement Index
1089  
1090 $outpdl = ta_adx($high, $low, $close, $InTimePeriod);
1091  
1092 # $high, $low, $close - 1D piddles, all have to be the same size
1093 # $InTimePeriod [Number of period] - integer
1094 # default: 14
1095 # valid range: min=2 max=100000
1096 # returns: $outpdl - 1D piddle
1097  
1098 =pod
1099  
1100 Broadcasts over its inputs.
1101  
1102 =for bad
1103  
1104 C<ta_adx> processes bad values.
1105 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1106  
1107 =cut
1108  
1109  
1110  
1111  
1112 3 *ta_adx = \&PDL::ta_adx;
1113  
1114  
1115  
1116  
1117  
1118  
1119 =head2 ta_adxr
1120  
1121 =for sig
1122  
1123 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
1124 Types: (double)
1125  
1126 =for usage
1127  
1128 $outpdl = ta_adxr($high, $low, $close, $InTimePeriod);
1129 ta_adxr($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
1130 $outpdl = $high->ta_adxr($low, $close, $InTimePeriod); # method call
1131 $high->ta_adxr($low, $close, $InTimePeriod, $outpdl);
1132  
1133 Average Directional Movement Index Rating
1134  
1135 $outpdl = ta_adxr($high, $low, $close, $InTimePeriod);
1136  
1137 # $high, $low, $close - 1D piddles, all have to be the same size
1138 # $InTimePeriod [Number of period] - integer
1139 # default: 14
1140 # valid range: min=2 max=100000
1141 # returns: $outpdl - 1D piddle
1142  
1143 =pod
1144  
1145 Broadcasts over its inputs.
1146  
1147 =for bad
1148  
1149 C<ta_adxr> processes bad values.
1150 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1151  
1152 =cut
1153  
1154  
1155  
1156  
1157 3 *ta_adxr = \&PDL::ta_adxr;
1158  
1159  
1160  
1161  
1162  
1163  
1164 =head2 ta_apo
1165  
1166 =for sig
1167  
1168 Signature: (double inpdl(n); int InFastPeriod(); int InSlowPeriod(); int InMAType(); double [o]outpdl(n))
1169 Types: (double)
1170  
1171 =for usage
1172  
1173 $outpdl = ta_apo($inpdl, $InFastPeriod, $InSlowPeriod, $InMAType);
1174 ta_apo($inpdl, $InFastPeriod, $InSlowPeriod, $InMAType, $outpdl); # all arguments given
1175 $outpdl = $inpdl->ta_apo($InFastPeriod, $InSlowPeriod, $InMAType); # method call
1176 $inpdl->ta_apo($InFastPeriod, $InSlowPeriod, $InMAType, $outpdl);
1177  
1178 Absolute Price Oscillator
1179  
1180 $outpdl = ta_apo($inpdl, $InFastPeriod, $InSlowPeriod, $InMAType);
1181  
1182 # $inpdl - 1D piddle with input data
1183 # $InFastPeriod [Number of period for the fast MA] - integer
1184 # default: 12
1185 # valid range: min=2 max=100000
1186 # $InSlowPeriod [Number of period for the slow MA] - integer
1187 # default: 26
1188 # valid range: min=2 max=100000
1189 # $InMAType [Type of Moving Average] - integer
1190 # default: 0
1191 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
1192 # returns: $outpdl - 1D piddle
1193  
1194 =pod
1195  
1196 Broadcasts over its inputs.
1197  
1198 =for bad
1199  
1200 C<ta_apo> processes bad values.
1201 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1202  
1203 =cut
1204  
1205  
1206  
1207  
1208 3 *ta_apo = \&PDL::ta_apo;
1209  
1210  
1211  
1212  
1213  
1214  
1215 =head2 ta_aroon
1216  
1217 =for sig
1218  
1219 Signature: (double high(n); double low(n); int InTimePeriod(); double [o]outAroonDown(n); double [o]outAroonUp(n))
1220 Types: (double)
1221  
1222 =for usage
1223  
1224 ($outAroonDown, $outAroonUp) = ta_aroon($high, $low, $InTimePeriod);
1225 ta_aroon($high, $low, $InTimePeriod, $outAroonDown, $outAroonUp); # all arguments given
1226 ($outAroonDown, $outAroonUp) = $high->ta_aroon($low, $InTimePeriod); # method call
1227 $high->ta_aroon($low, $InTimePeriod, $outAroonDown, $outAroonUp);
1228  
1229 Aroon
1230  
1231 ($outAroonDown, $outAroonUp) = ta_aroon($high, $low, $InTimePeriod);
1232  
1233 # $high, $low - 1D piddles, both have to be the same size
1234 # $InTimePeriod [Number of period] - integer
1235 # default: 14
1236 # valid range: min=2 max=100000
1237 # returns: $outAroonDown - 1D piddle
1238 # returns: $outAroonUp - 1D piddle
1239  
1240 =pod
1241  
1242 Broadcasts over its inputs.
1243  
1244 =for bad
1245  
1246 C<ta_aroon> processes bad values.
1247 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1248  
1249 =cut
1250  
1251  
1252  
1253  
1254 3 *ta_aroon = \&PDL::ta_aroon;
1255  
1256  
1257  
1258  
1259  
1260  
1261 =head2 ta_aroonosc
1262  
1263 =for sig
1264  
1265 Signature: (double high(n); double low(n); int InTimePeriod(); double [o]outpdl(n))
1266 Types: (double)
1267  
1268 =for usage
1269  
1270 $outpdl = ta_aroonosc($high, $low, $InTimePeriod);
1271 ta_aroonosc($high, $low, $InTimePeriod, $outpdl); # all arguments given
1272 $outpdl = $high->ta_aroonosc($low, $InTimePeriod); # method call
1273 $high->ta_aroonosc($low, $InTimePeriod, $outpdl);
1274  
1275 Aroon Oscillator
1276  
1277 $outpdl = ta_aroonosc($high, $low, $InTimePeriod);
1278  
1279 # $high, $low - 1D piddles, both have to be the same size
1280 # $InTimePeriod [Number of period] - integer
1281 # default: 14
1282 # valid range: min=2 max=100000
1283 # returns: $outpdl - 1D piddle
1284  
1285 =pod
1286  
1287 Broadcasts over its inputs.
1288  
1289 =for bad
1290  
1291 C<ta_aroonosc> processes bad values.
1292 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1293  
1294 =cut
1295  
1296  
1297  
1298  
1299 3 *ta_aroonosc = \&PDL::ta_aroonosc;
1300  
1301  
1302  
1303  
1304  
1305  
1306 =head2 ta_bop
1307  
1308 =for sig
1309  
1310 Signature: (double open(n); double high(n); double low(n); double close(n); double [o]outpdl(n))
1311 Types: (double)
1312  
1313 =for usage
1314  
1315 $outpdl = ta_bop($open, $high, $low, $close);
1316 ta_bop($open, $high, $low, $close, $outpdl); # all arguments given
1317 $outpdl = $open->ta_bop($high, $low, $close); # method call
1318 $open->ta_bop($high, $low, $close, $outpdl);
1319  
1320 Balance Of Power
1321  
1322 $outpdl = ta_bop($open, $high, $low, $close);
1323  
1324 # $open, $high, $low, $close - 1D piddles, all have to be the same size
1325 # returns: $outpdl - 1D piddle
1326  
1327 =pod
1328  
1329 Broadcasts over its inputs.
1330  
1331 =for bad
1332  
1333 C<ta_bop> processes bad values.
1334 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1335  
1336 =cut
1337  
1338  
1339  
1340  
1341 3 *ta_bop = \&PDL::ta_bop;
1342  
1343  
1344  
1345  
1346  
1347  
1348 =head2 ta_cci
1349  
1350 =for sig
1351  
1352 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
1353 Types: (double)
1354  
1355 =for usage
1356  
1357 $outpdl = ta_cci($high, $low, $close, $InTimePeriod);
1358 ta_cci($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
1359 $outpdl = $high->ta_cci($low, $close, $InTimePeriod); # method call
1360 $high->ta_cci($low, $close, $InTimePeriod, $outpdl);
1361  
1362 Commodity Channel Index
1363  
1364 $outpdl = ta_cci($high, $low, $close, $InTimePeriod);
1365  
1366 # $high, $low, $close - 1D piddles, all have to be the same size
1367 # $InTimePeriod [Number of period] - integer
1368 # default: 14
1369 # valid range: min=2 max=100000
1370 # returns: $outpdl - 1D piddle
1371  
1372 =pod
1373  
1374 Broadcasts over its inputs.
1375  
1376 =for bad
1377  
1378 C<ta_cci> processes bad values.
1379 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1380  
1381 =cut
1382  
1383  
1384  
1385  
1386 3 *ta_cci = \&PDL::ta_cci;
1387  
1388  
1389  
1390  
1391  
1392  
1393 =head2 ta_cmo
1394  
1395 =for sig
1396  
1397 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
1398 Types: (double)
1399  
1400 =for usage
1401  
1402 $outpdl = ta_cmo($inpdl, $InTimePeriod);
1403 ta_cmo($inpdl, $InTimePeriod, $outpdl); # all arguments given
1404 $outpdl = $inpdl->ta_cmo($InTimePeriod); # method call
1405 $inpdl->ta_cmo($InTimePeriod, $outpdl);
1406  
1407 Chande Momentum Oscillator
1408  
1409 $outpdl = ta_cmo($inpdl, $InTimePeriod);
1410  
1411 # $inpdl - 1D piddle with input data
1412 # $InTimePeriod [Number of period] - integer
1413 # default: 14
1414 # valid range: min=2 max=100000
1415 # returns: $outpdl - 1D piddle
1416  
1417 =pod
1418  
1419 Broadcasts over its inputs.
1420  
1421 =for bad
1422  
1423 C<ta_cmo> processes bad values.
1424 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1425  
1426 =cut
1427  
1428  
1429  
1430  
1431 3 *ta_cmo = \&PDL::ta_cmo;
1432  
1433  
1434  
1435  
1436  
1437  
1438 =head2 ta_dx
1439  
1440 =for sig
1441  
1442 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
1443 Types: (double)
1444  
1445 =for usage
1446  
1447 $outpdl = ta_dx($high, $low, $close, $InTimePeriod);
1448 ta_dx($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
1449 $outpdl = $high->ta_dx($low, $close, $InTimePeriod); # method call
1450 $high->ta_dx($low, $close, $InTimePeriod, $outpdl);
1451  
1452 Directional Movement Index
1453  
1454 $outpdl = ta_dx($high, $low, $close, $InTimePeriod);
1455  
1456 # $high, $low, $close - 1D piddles, all have to be the same size
1457 # $InTimePeriod [Number of period] - integer
1458 # default: 14
1459 # valid range: min=2 max=100000
1460 # returns: $outpdl - 1D piddle
1461  
1462 =pod
1463  
1464 Broadcasts over its inputs.
1465  
1466 =for bad
1467  
1468 C<ta_dx> processes bad values.
1469 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1470  
1471 =cut
1472  
1473  
1474  
1475  
1476 3 *ta_dx = \&PDL::ta_dx;
1477  
1478  
1479  
1480  
1481  
1482  
1483 =head2 ta_macd
1484  
1485 =for sig
1486  
1487 Signature: (double inpdl(n); int InFastPeriod(); int InSlowPeriod(); int InSignalPeriod(); double [o]outMACD(n); double [o]outMACDSignal(n); double [o]outMACDHist(n))
1488 Types: (double)
1489  
1490 =for usage
1491  
1492 ($outMACD, $outMACDSignal, $outMACDHist) = ta_macd($inpdl, $InFastPeriod, $InSlowPeriod, $InSignalPeriod);
1493 ta_macd($inpdl, $InFastPeriod, $InSlowPeriod, $InSignalPeriod, $outMACD, $outMACDSignal, $outMACDHist); # all arguments given
1494 ($outMACD, $outMACDSignal, $outMACDHist) = $inpdl->ta_macd($InFastPeriod, $InSlowPeriod, $InSignalPeriod); # method call
1495 $inpdl->ta_macd($InFastPeriod, $InSlowPeriod, $InSignalPeriod, $outMACD, $outMACDSignal, $outMACDHist);
1496  
1497 Moving Average Convergence/Divergence
1498  
1499 ($outMACD, $outMACDSignal, $outMACDHist) = ta_macd($inpdl, $InFastPeriod, $InSlowPeriod, $InSignalPeriod);
1500  
1501 # $inpdl - 1D piddle with input data
1502 # $InFastPeriod [Number of period for the fast MA] - integer
1503 # default: 12
1504 # valid range: min=2 max=100000
1505 # $InSlowPeriod [Number of period for the slow MA] - integer
1506 # default: 26
1507 # valid range: min=2 max=100000
1508 # $InSignalPeriod [Smoothing for the signal line (nb of period)] - integer
1509 # default: 9
1510 # valid range: min=1 max=100000
1511 # returns: $outMACD - 1D piddle
1512 # returns: $outMACDSignal - 1D piddle
1513 # returns: $outMACDHist - 1D piddle
1514  
1515 =pod
1516  
1517 Broadcasts over its inputs.
1518  
1519 =for bad
1520  
1521 C<ta_macd> processes bad values.
1522 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1523  
1524 =cut
1525  
1526  
1527  
1528  
1529 3 *ta_macd = \&PDL::ta_macd;
1530  
1531  
1532  
1533  
1534  
1535  
1536 =head2 ta_macdext
1537  
1538 =for sig
1539  
1540 Signature: (double inpdl(n); int InFastPeriod(); int InFastMAType(); int InSlowPeriod(); int InSlowMAType(); int InSignalPeriod(); int InSignalMAType(); double [o]outMACD(n); double [o]outMACDSignal(n); double [o]outMACDHist(n))
1541 Types: (double)
1542  
1543 =for usage
1544  
1545 ($outMACD, $outMACDSignal, $outMACDHist) = ta_macdext($inpdl, $InFastPeriod, $InFastMAType, $InSlowPeriod, $InSlowMAType, $InSignalPeriod, $InSignalMAType);
1546 ta_macdext($inpdl, $InFastPeriod, $InFastMAType, $InSlowPeriod, $InSlowMAType, $InSignalPeriod, $InSignalMAType, $outMACD, $outMACDSignal, $outMACDHist); # all arguments given
1547 ($outMACD, $outMACDSignal, $outMACDHist) = $inpdl->ta_macdext($InFastPeriod, $InFastMAType, $InSlowPeriod, $InSlowMAType, $InSignalPeriod, $InSignalMAType); # method call
1548 $inpdl->ta_macdext($InFastPeriod, $InFastMAType, $InSlowPeriod, $InSlowMAType, $InSignalPeriod, $InSignalMAType, $outMACD, $outMACDSignal, $outMACDHist);
1549  
1550 MACD with controllable MA type
1551  
1552 ($outMACD, $outMACDSignal, $outMACDHist) = ta_macdext($inpdl, $InFastPeriod, $InFastMAType, $InSlowPeriod, $InSlowMAType, $InSignalPeriod, $InSignalMAType);
1553  
1554 # $inpdl - 1D piddle with input data
1555 # $InFastPeriod [Number of period for the fast MA] - integer
1556 # default: 12
1557 # valid range: min=2 max=100000
1558 # $InFastMAType [Type of Moving Average for fast MA] - integer
1559 # default: 0
1560 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
1561 # $InSlowPeriod [Number of period for the slow MA] - integer
1562 # default: 26
1563 # valid range: min=2 max=100000
1564 # $InSlowMAType [Type of Moving Average for slow MA] - integer
1565 # default: 0
1566 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
1567 # $InSignalPeriod [Smoothing for the signal line (nb of period)] - integer
1568 # default: 9
1569 # valid range: min=1 max=100000
1570 # $InSignalMAType [Type of Moving Average for signal line] - integer
1571 # default: 0
1572 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
1573 # returns: $outMACD - 1D piddle
1574 # returns: $outMACDSignal - 1D piddle
1575 # returns: $outMACDHist - 1D piddle
1576  
1577 =pod
1578  
1579 Broadcasts over its inputs.
1580  
1581 =for bad
1582  
1583 C<ta_macdext> processes bad values.
1584 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1585  
1586 =cut
1587  
1588  
1589  
1590  
1591 3 *ta_macdext = \&PDL::ta_macdext;
1592  
1593  
1594  
1595  
1596  
1597  
1598 =head2 ta_macdfix
1599  
1600 =for sig
1601  
1602 Signature: (double inpdl(n); int InSignalPeriod(); double [o]outMACD(n); double [o]outMACDSignal(n); double [o]outMACDHist(n))
1603 Types: (double)
1604  
1605 =for usage
1606  
1607 ($outMACD, $outMACDSignal, $outMACDHist) = ta_macdfix($inpdl, $InSignalPeriod);
1608 ta_macdfix($inpdl, $InSignalPeriod, $outMACD, $outMACDSignal, $outMACDHist); # all arguments given
1609 ($outMACD, $outMACDSignal, $outMACDHist) = $inpdl->ta_macdfix($InSignalPeriod); # method call
1610 $inpdl->ta_macdfix($InSignalPeriod, $outMACD, $outMACDSignal, $outMACDHist);
1611  
1612 Moving Average Convergence/Divergence Fix 12/26
1613  
1614 ($outMACD, $outMACDSignal, $outMACDHist) = ta_macdfix($inpdl, $InSignalPeriod);
1615  
1616 # $inpdl - 1D piddle with input data
1617 # $InSignalPeriod [Smoothing for the signal line (nb of period)] - integer
1618 # default: 9
1619 # valid range: min=1 max=100000
1620 # returns: $outMACD - 1D piddle
1621 # returns: $outMACDSignal - 1D piddle
1622 # returns: $outMACDHist - 1D piddle
1623  
1624 =pod
1625  
1626 Broadcasts over its inputs.
1627  
1628 =for bad
1629  
1630 C<ta_macdfix> processes bad values.
1631 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1632  
1633 =cut
1634  
1635  
1636  
1637  
1638 3 *ta_macdfix = \&PDL::ta_macdfix;
1639  
1640  
1641  
1642  
1643  
1644  
1645 =head2 ta_mfi
1646  
1647 =for sig
1648  
1649 Signature: (double high(n); double low(n); double close(n); double volume(n); int InTimePeriod(); double [o]outpdl(n))
1650 Types: (double)
1651  
1652 =for usage
1653  
1654 $outpdl = ta_mfi($high, $low, $close, $volume, $InTimePeriod);
1655 ta_mfi($high, $low, $close, $volume, $InTimePeriod, $outpdl); # all arguments given
1656 $outpdl = $high->ta_mfi($low, $close, $volume, $InTimePeriod); # method call
1657 $high->ta_mfi($low, $close, $volume, $InTimePeriod, $outpdl);
1658  
1659 Money Flow Index
1660  
1661 $outpdl = ta_mfi($high, $low, $close, $volume, $InTimePeriod);
1662  
1663 # $high, $low, $close, $volume - 1D piddles, all have to be the same size
1664 # $InTimePeriod [Number of period] - integer
1665 # default: 14
1666 # valid range: min=2 max=100000
1667 # returns: $outpdl - 1D piddle
1668  
1669 =pod
1670  
1671 Broadcasts over its inputs.
1672  
1673 =for bad
1674  
1675 C<ta_mfi> processes bad values.
1676 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1677  
1678 =cut
1679  
1680  
1681  
1682  
1683 3 *ta_mfi = \&PDL::ta_mfi;
1684  
1685  
1686  
1687  
1688  
1689  
1690 =head2 ta_minus_di
1691  
1692 =for sig
1693  
1694 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
1695 Types: (double)
1696  
1697 =for usage
1698  
1699 $outpdl = ta_minus_di($high, $low, $close, $InTimePeriod);
1700 ta_minus_di($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
1701 $outpdl = $high->ta_minus_di($low, $close, $InTimePeriod); # method call
1702 $high->ta_minus_di($low, $close, $InTimePeriod, $outpdl);
1703  
1704 Minus Directional Indicator
1705  
1706 $outpdl = ta_minus_di($high, $low, $close, $InTimePeriod);
1707  
1708 # $high, $low, $close - 1D piddles, all have to be the same size
1709 # $InTimePeriod [Number of period] - integer
1710 # default: 14
1711 # valid range: min=1 max=100000
1712 # returns: $outpdl - 1D piddle
1713  
1714 =pod
1715  
1716 Broadcasts over its inputs.
1717  
1718 =for bad
1719  
1720 C<ta_minus_di> processes bad values.
1721 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1722  
1723 =cut
1724  
1725  
1726  
1727  
1728 3 *ta_minus_di = \&PDL::ta_minus_di;
1729  
1730  
1731  
1732  
1733  
1734  
1735 =head2 ta_minus_dm
1736  
1737 =for sig
1738  
1739 Signature: (double high(n); double low(n); int InTimePeriod(); double [o]outpdl(n))
1740 Types: (double)
1741  
1742 =for usage
1743  
1744 $outpdl = ta_minus_dm($high, $low, $InTimePeriod);
1745 ta_minus_dm($high, $low, $InTimePeriod, $outpdl); # all arguments given
1746 $outpdl = $high->ta_minus_dm($low, $InTimePeriod); # method call
1747 $high->ta_minus_dm($low, $InTimePeriod, $outpdl);
1748  
1749 Minus Directional Movement
1750  
1751 $outpdl = ta_minus_dm($high, $low, $InTimePeriod);
1752  
1753 # $high, $low - 1D piddles, both have to be the same size
1754 # $InTimePeriod [Number of period] - integer
1755 # default: 14
1756 # valid range: min=1 max=100000
1757 # returns: $outpdl - 1D piddle
1758  
1759 =pod
1760  
1761 Broadcasts over its inputs.
1762  
1763 =for bad
1764  
1765 C<ta_minus_dm> processes bad values.
1766 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1767  
1768 =cut
1769  
1770  
1771  
1772  
1773 3 *ta_minus_dm = \&PDL::ta_minus_dm;
1774  
1775  
1776  
1777  
1778  
1779  
1780 =head2 ta_mom
1781  
1782 =for sig
1783  
1784 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
1785 Types: (double)
1786  
1787 =for usage
1788  
1789 $outpdl = ta_mom($inpdl, $InTimePeriod);
1790 ta_mom($inpdl, $InTimePeriod, $outpdl); # all arguments given
1791 $outpdl = $inpdl->ta_mom($InTimePeriod); # method call
1792 $inpdl->ta_mom($InTimePeriod, $outpdl);
1793  
1794 Momentum
1795  
1796 $outpdl = ta_mom($inpdl, $InTimePeriod);
1797  
1798 # $inpdl - 1D piddle with input data
1799 # $InTimePeriod [Number of period] - integer
1800 # default: 10
1801 # valid range: min=1 max=100000
1802 # returns: $outpdl - 1D piddle
1803  
1804 =pod
1805  
1806 Broadcasts over its inputs.
1807  
1808 =for bad
1809  
1810 C<ta_mom> processes bad values.
1811 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1812  
1813 =cut
1814  
1815  
1816  
1817  
1818 3 *ta_mom = \&PDL::ta_mom;
1819  
1820  
1821  
1822  
1823  
1824  
1825 =head2 ta_plus_di
1826  
1827 =for sig
1828  
1829 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
1830 Types: (double)
1831  
1832 =for usage
1833  
1834 $outpdl = ta_plus_di($high, $low, $close, $InTimePeriod);
1835 ta_plus_di($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
1836 $outpdl = $high->ta_plus_di($low, $close, $InTimePeriod); # method call
1837 $high->ta_plus_di($low, $close, $InTimePeriod, $outpdl);
1838  
1839 Plus Directional Indicator
1840  
1841 $outpdl = ta_plus_di($high, $low, $close, $InTimePeriod);
1842  
1843 # $high, $low, $close - 1D piddles, all have to be the same size
1844 # $InTimePeriod [Number of period] - integer
1845 # default: 14
1846 # valid range: min=1 max=100000
1847 # returns: $outpdl - 1D piddle
1848  
1849 =pod
1850  
1851 Broadcasts over its inputs.
1852  
1853 =for bad
1854  
1855 C<ta_plus_di> processes bad values.
1856 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1857  
1858 =cut
1859  
1860  
1861  
1862  
1863 3 *ta_plus_di = \&PDL::ta_plus_di;
1864  
1865  
1866  
1867  
1868  
1869  
1870 =head2 ta_plus_dm
1871  
1872 =for sig
1873  
1874 Signature: (double high(n); double low(n); int InTimePeriod(); double [o]outpdl(n))
1875 Types: (double)
1876  
1877 =for usage
1878  
1879 $outpdl = ta_plus_dm($high, $low, $InTimePeriod);
1880 ta_plus_dm($high, $low, $InTimePeriod, $outpdl); # all arguments given
1881 $outpdl = $high->ta_plus_dm($low, $InTimePeriod); # method call
1882 $high->ta_plus_dm($low, $InTimePeriod, $outpdl);
1883  
1884 Plus Directional Movement
1885  
1886 $outpdl = ta_plus_dm($high, $low, $InTimePeriod);
1887  
1888 # $high, $low - 1D piddles, both have to be the same size
1889 # $InTimePeriod [Number of period] - integer
1890 # default: 14
1891 # valid range: min=1 max=100000
1892 # returns: $outpdl - 1D piddle
1893  
1894 =pod
1895  
1896 Broadcasts over its inputs.
1897  
1898 =for bad
1899  
1900 C<ta_plus_dm> processes bad values.
1901 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1902  
1903 =cut
1904  
1905  
1906  
1907  
1908 3 *ta_plus_dm = \&PDL::ta_plus_dm;
1909  
1910  
1911  
1912  
1913  
1914  
1915 =head2 ta_ppo
1916  
1917 =for sig
1918  
1919 Signature: (double inpdl(n); int InFastPeriod(); int InSlowPeriod(); int InMAType(); double [o]outpdl(n))
1920 Types: (double)
1921  
1922 =for usage
1923  
1924 $outpdl = ta_ppo($inpdl, $InFastPeriod, $InSlowPeriod, $InMAType);
1925 ta_ppo($inpdl, $InFastPeriod, $InSlowPeriod, $InMAType, $outpdl); # all arguments given
1926 $outpdl = $inpdl->ta_ppo($InFastPeriod, $InSlowPeriod, $InMAType); # method call
1927 $inpdl->ta_ppo($InFastPeriod, $InSlowPeriod, $InMAType, $outpdl);
1928  
1929 Percentage Price Oscillator
1930  
1931 $outpdl = ta_ppo($inpdl, $InFastPeriod, $InSlowPeriod, $InMAType);
1932  
1933 # $inpdl - 1D piddle with input data
1934 # $InFastPeriod [Number of period for the fast MA] - integer
1935 # default: 12
1936 # valid range: min=2 max=100000
1937 # $InSlowPeriod [Number of period for the slow MA] - integer
1938 # default: 26
1939 # valid range: min=2 max=100000
1940 # $InMAType [Type of Moving Average] - integer
1941 # default: 0
1942 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
1943 # returns: $outpdl - 1D piddle
1944  
1945 =pod
1946  
1947 Broadcasts over its inputs.
1948  
1949 =for bad
1950  
1951 C<ta_ppo> processes bad values.
1952 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1953  
1954 =cut
1955  
1956  
1957  
1958  
1959 3 *ta_ppo = \&PDL::ta_ppo;
1960  
1961  
1962  
1963  
1964  
1965  
1966 =head2 ta_roc
1967  
1968 =for sig
1969  
1970 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
1971 Types: (double)
1972  
1973 =for usage
1974  
1975 $outpdl = ta_roc($inpdl, $InTimePeriod);
1976 ta_roc($inpdl, $InTimePeriod, $outpdl); # all arguments given
1977 $outpdl = $inpdl->ta_roc($InTimePeriod); # method call
1978 $inpdl->ta_roc($InTimePeriod, $outpdl);
1979  
1980 Rate of change : ((price/prevPrice-1)*100)
1981  
1982 $outpdl = ta_roc($inpdl, $InTimePeriod);
1983  
1984 # $inpdl - 1D piddle with input data
1985 # $InTimePeriod [Number of period] - integer
1986 # default: 10
1987 # valid range: min=1 max=100000
1988 # returns: $outpdl - 1D piddle
1989  
1990 =pod
1991  
1992 Broadcasts over its inputs.
1993  
1994 =for bad
1995  
1996 C<ta_roc> processes bad values.
1997 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
1998  
1999 =cut
2000  
2001  
2002  
2003  
2004 3 *ta_roc = \&PDL::ta_roc;
2005  
2006  
2007  
2008  
2009  
2010  
2011 =head2 ta_rocp
2012  
2013 =for sig
2014  
2015 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
2016 Types: (double)
2017  
2018 =for usage
2019  
2020 $outpdl = ta_rocp($inpdl, $InTimePeriod);
2021 ta_rocp($inpdl, $InTimePeriod, $outpdl); # all arguments given
2022 $outpdl = $inpdl->ta_rocp($InTimePeriod); # method call
2023 $inpdl->ta_rocp($InTimePeriod, $outpdl);
2024  
2025 Rate of change Percentage: (price-prevPrice/prevPrice)
2026  
2027 $outpdl = ta_rocp($inpdl, $InTimePeriod);
2028  
2029 # $inpdl - 1D piddle with input data
2030 # $InTimePeriod [Number of period] - integer
2031 # default: 10
2032 # valid range: min=1 max=100000
2033 # returns: $outpdl - 1D piddle
2034  
2035 =pod
2036  
2037 Broadcasts over its inputs.
2038  
2039 =for bad
2040  
2041 C<ta_rocp> processes bad values.
2042 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2043  
2044 =cut
2045  
2046  
2047  
2048  
2049 3 *ta_rocp = \&PDL::ta_rocp;
2050  
2051  
2052  
2053  
2054  
2055  
2056 =head2 ta_rocr
2057  
2058 =for sig
2059  
2060 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
2061 Types: (double)
2062  
2063 =for usage
2064  
2065 $outpdl = ta_rocr($inpdl, $InTimePeriod);
2066 ta_rocr($inpdl, $InTimePeriod, $outpdl); # all arguments given
2067 $outpdl = $inpdl->ta_rocr($InTimePeriod); # method call
2068 $inpdl->ta_rocr($InTimePeriod, $outpdl);
2069  
2070 Rate of change ratio: (price/prevPrice)
2071  
2072 $outpdl = ta_rocr($inpdl, $InTimePeriod);
2073  
2074 # $inpdl - 1D piddle with input data
2075 # $InTimePeriod [Number of period] - integer
2076 # default: 10
2077 # valid range: min=1 max=100000
2078 # returns: $outpdl - 1D piddle
2079  
2080 =pod
2081  
2082 Broadcasts over its inputs.
2083  
2084 =for bad
2085  
2086 C<ta_rocr> processes bad values.
2087 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2088  
2089 =cut
2090  
2091  
2092  
2093  
2094 3 *ta_rocr = \&PDL::ta_rocr;
2095  
2096  
2097  
2098  
2099  
2100  
2101 =head2 ta_rocr100
2102  
2103 =for sig
2104  
2105 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
2106 Types: (double)
2107  
2108 =for usage
2109  
2110 $outpdl = ta_rocr100($inpdl, $InTimePeriod);
2111 ta_rocr100($inpdl, $InTimePeriod, $outpdl); # all arguments given
2112 $outpdl = $inpdl->ta_rocr100($InTimePeriod); # method call
2113 $inpdl->ta_rocr100($InTimePeriod, $outpdl);
2114  
2115 Rate of change ratio 100 scale: (price/prevPrice*100)
2116  
2117 $outpdl = ta_rocr100($inpdl, $InTimePeriod);
2118  
2119 # $inpdl - 1D piddle with input data
2120 # $InTimePeriod [Number of period] - integer
2121 # default: 10
2122 # valid range: min=1 max=100000
2123 # returns: $outpdl - 1D piddle
2124  
2125 =pod
2126  
2127 Broadcasts over its inputs.
2128  
2129 =for bad
2130  
2131 C<ta_rocr100> processes bad values.
2132 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2133  
2134 =cut
2135  
2136  
2137  
2138  
2139 3 *ta_rocr100 = \&PDL::ta_rocr100;
2140  
2141  
2142  
2143  
2144  
2145  
2146 =head2 ta_rsi
2147  
2148 =for sig
2149  
2150 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
2151 Types: (double)
2152  
2153 =for usage
2154  
2155 $outpdl = ta_rsi($inpdl, $InTimePeriod);
2156 ta_rsi($inpdl, $InTimePeriod, $outpdl); # all arguments given
2157 $outpdl = $inpdl->ta_rsi($InTimePeriod); # method call
2158 $inpdl->ta_rsi($InTimePeriod, $outpdl);
2159  
2160 Relative Strength Index
2161  
2162 $outpdl = ta_rsi($inpdl, $InTimePeriod);
2163  
2164 # $inpdl - 1D piddle with input data
2165 # $InTimePeriod [Number of period] - integer
2166 # default: 14
2167 # valid range: min=2 max=100000
2168 # returns: $outpdl - 1D piddle
2169  
2170 =pod
2171  
2172 Broadcasts over its inputs.
2173  
2174 =for bad
2175  
2176 C<ta_rsi> processes bad values.
2177 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2178  
2179 =cut
2180  
2181  
2182  
2183  
2184 3 *ta_rsi = \&PDL::ta_rsi;
2185  
2186  
2187  
2188  
2189  
2190  
2191 =head2 ta_stoch
2192  
2193 =for sig
2194  
2195 Signature: (double high(n); double low(n); double close(n); int InFastK_Period(); int InSlowK_Period(); int InSlowK_MAType(); int InSlowD_Period(); int InSlowD_MAType(); double [o]outSlowK(n); double [o]outSlowD(n))
2196 Types: (double)
2197  
2198 =for usage
2199  
2200 ($outSlowK, $outSlowD) = ta_stoch($high, $low, $close, $InFastK_Period, $InSlowK_Period, $InSlowK_MAType, $InSlowD_Period, $InSlowD_MAType);
2201 ta_stoch($high, $low, $close, $InFastK_Period, $InSlowK_Period, $InSlowK_MAType, $InSlowD_Period, $InSlowD_MAType, $outSlowK, $outSlowD); # all arguments given
2202 ($outSlowK, $outSlowD) = $high->ta_stoch($low, $close, $InFastK_Period, $InSlowK_Period, $InSlowK_MAType, $InSlowD_Period, $InSlowD_MAType); # method call
2203 $high->ta_stoch($low, $close, $InFastK_Period, $InSlowK_Period, $InSlowK_MAType, $InSlowD_Period, $InSlowD_MAType, $outSlowK, $outSlowD);
2204  
2205 Stochastic
2206  
2207 ($outSlowK, $outSlowD) = ta_stoch($high, $low, $close, $InFastK_Period, $InSlowK_Period, $InSlowK_MAType, $InSlowD_Period, $InSlowD_MAType);
2208  
2209 # $high, $low, $close - 1D piddles, all have to be the same size
2210 # $InFastK_Period [Time period for building the Fast-K line] - integer
2211 # default: 5
2212 # valid range: min=1 max=100000
2213 # $InSlowK_Period [Smoothing for making the Slow-K line. Usually set to 3] - integer
2214 # default: 3
2215 # valid range: min=1 max=100000
2216 # $InSlowK_MAType [Type of Moving Average for Slow-K] - integer
2217 # default: 0
2218 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
2219 # $InSlowD_Period [Smoothing for making the Slow-D line] - integer
2220 # default: 3
2221 # valid range: min=1 max=100000
2222 # $InSlowD_MAType [Type of Moving Average for Slow-D] - integer
2223 # default: 0
2224 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
2225 # returns: $outSlowK - 1D piddle
2226 # returns: $outSlowD - 1D piddle
2227  
2228 =pod
2229  
2230 Broadcasts over its inputs.
2231  
2232 =for bad
2233  
2234 C<ta_stoch> processes bad values.
2235 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2236  
2237 =cut
2238  
2239  
2240  
2241  
2242 3 *ta_stoch = \&PDL::ta_stoch;
2243  
2244  
2245  
2246  
2247  
2248  
2249 =head2 ta_stochf
2250  
2251 =for sig
2252  
2253 Signature: (double high(n); double low(n); double close(n); int InFastK_Period(); int InFastD_Period(); int InFastD_MAType(); double [o]outFastK(n); double [o]outFastD(n))
2254 Types: (double)
2255  
2256 =for usage
2257  
2258 ($outFastK, $outFastD) = ta_stochf($high, $low, $close, $InFastK_Period, $InFastD_Period, $InFastD_MAType);
2259 ta_stochf($high, $low, $close, $InFastK_Period, $InFastD_Period, $InFastD_MAType, $outFastK, $outFastD); # all arguments given
2260 ($outFastK, $outFastD) = $high->ta_stochf($low, $close, $InFastK_Period, $InFastD_Period, $InFastD_MAType); # method call
2261 $high->ta_stochf($low, $close, $InFastK_Period, $InFastD_Period, $InFastD_MAType, $outFastK, $outFastD);
2262  
2263 Stochastic Fast
2264  
2265 ($outFastK, $outFastD) = ta_stochf($high, $low, $close, $InFastK_Period, $InFastD_Period, $InFastD_MAType);
2266  
2267 # $high, $low, $close - 1D piddles, all have to be the same size
2268 # $InFastK_Period [Time period for building the Fast-K line] - integer
2269 # default: 5
2270 # valid range: min=1 max=100000
2271 # $InFastD_Period [Smoothing for making the Fast-D line. Usually set to 3] - integer
2272 # default: 3
2273 # valid range: min=1 max=100000
2274 # $InFastD_MAType [Type of Moving Average for Fast-D] - integer
2275 # default: 0
2276 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
2277 # returns: $outFastK - 1D piddle
2278 # returns: $outFastD - 1D piddle
2279  
2280 =pod
2281  
2282 Broadcasts over its inputs.
2283  
2284 =for bad
2285  
2286 C<ta_stochf> processes bad values.
2287 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2288  
2289 =cut
2290  
2291  
2292  
2293  
2294 3 *ta_stochf = \&PDL::ta_stochf;
2295  
2296  
2297  
2298  
2299  
2300  
2301 =head2 ta_stochrsi
2302  
2303 =for sig
2304  
2305 Signature: (double inpdl(n); int InTimePeriod(); int InFastK_Period(); int InFastD_Period(); int InFastD_MAType(); double [o]outFastK(n); double [o]outFastD(n))
2306 Types: (double)
2307  
2308 =for usage
2309  
2310 ($outFastK, $outFastD) = ta_stochrsi($inpdl, $InTimePeriod, $InFastK_Period, $InFastD_Period, $InFastD_MAType);
2311 ta_stochrsi($inpdl, $InTimePeriod, $InFastK_Period, $InFastD_Period, $InFastD_MAType, $outFastK, $outFastD); # all arguments given
2312 ($outFastK, $outFastD) = $inpdl->ta_stochrsi($InTimePeriod, $InFastK_Period, $InFastD_Period, $InFastD_MAType); # method call
2313 $inpdl->ta_stochrsi($InTimePeriod, $InFastK_Period, $InFastD_Period, $InFastD_MAType, $outFastK, $outFastD);
2314  
2315 Stochastic Relative Strength Index
2316  
2317 ($outFastK, $outFastD) = ta_stochrsi($inpdl, $InTimePeriod, $InFastK_Period, $InFastD_Period, $InFastD_MAType);
2318  
2319 # $inpdl - 1D piddle with input data
2320 # $InTimePeriod [Number of period] - integer
2321 # default: 14
2322 # valid range: min=2 max=100000
2323 # $InFastK_Period [Time period for building the Fast-K line] - integer
2324 # default: 5
2325 # valid range: min=1 max=100000
2326 # $InFastD_Period [Smoothing for making the Fast-D line. Usually set to 3] - integer
2327 # default: 3
2328 # valid range: min=1 max=100000
2329 # $InFastD_MAType [Type of Moving Average for Fast-D] - integer
2330 # default: 0
2331 # valid values: 0=SMA 1=EMA 2=WMA 3=DEMA 4=TEMA 5=TRIMA 6=KAMA 7=MAMA 8=T3
2332 # returns: $outFastK - 1D piddle
2333 # returns: $outFastD - 1D piddle
2334  
2335 =pod
2336  
2337 Broadcasts over its inputs.
2338  
2339 =for bad
2340  
2341 C<ta_stochrsi> processes bad values.
2342 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2343  
2344 =cut
2345  
2346  
2347  
2348  
2349 3 *ta_stochrsi = \&PDL::ta_stochrsi;
2350  
2351  
2352  
2353  
2354  
2355  
2356 =head2 ta_trix
2357  
2358 =for sig
2359  
2360 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
2361 Types: (double)
2362  
2363 =for usage
2364  
2365 $outpdl = ta_trix($inpdl, $InTimePeriod);
2366 ta_trix($inpdl, $InTimePeriod, $outpdl); # all arguments given
2367 $outpdl = $inpdl->ta_trix($InTimePeriod); # method call
2368 $inpdl->ta_trix($InTimePeriod, $outpdl);
2369  
2370 1-day Rate-Of-Change (ROC of a Triple Smooth EMA)
2371  
2372 $outpdl = ta_trix($inpdl, $InTimePeriod);
2373  
2374 # $inpdl - 1D piddle with input data
2375 # $InTimePeriod [Number of period] - integer
2376 # default: 30
2377 # valid range: min=1 max=100000
2378 # returns: $outpdl - 1D piddle
2379  
2380 =pod
2381  
2382 Broadcasts over its inputs.
2383  
2384 =for bad
2385  
2386 C<ta_trix> processes bad values.
2387 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2388  
2389 =cut
2390  
2391  
2392  
2393  
2394 3 *ta_trix = \&PDL::ta_trix;
2395  
2396  
2397  
2398  
2399  
2400  
2401 =head2 ta_ultosc
2402  
2403 =for sig
2404  
2405 Signature: (double high(n); double low(n); double close(n); int InTimePeriod1(); int InTimePeriod2(); int InTimePeriod3(); double [o]outpdl(n))
2406 Types: (double)
2407  
2408 =for usage
2409  
2410 $outpdl = ta_ultosc($high, $low, $close, $InTimePeriod1, $InTimePeriod2, $InTimePeriod3);
2411 ta_ultosc($high, $low, $close, $InTimePeriod1, $InTimePeriod2, $InTimePeriod3, $outpdl); # all arguments given
2412 $outpdl = $high->ta_ultosc($low, $close, $InTimePeriod1, $InTimePeriod2, $InTimePeriod3); # method call
2413 $high->ta_ultosc($low, $close, $InTimePeriod1, $InTimePeriod2, $InTimePeriod3, $outpdl);
2414  
2415 Ultimate Oscillator
2416  
2417 $outpdl = ta_ultosc($high, $low, $close, $InTimePeriod1, $InTimePeriod2, $InTimePeriod3);
2418  
2419 # $high, $low, $close - 1D piddles, all have to be the same size
2420 # $InTimePeriod1 [Number of bars for 1st period.] - integer
2421 # default: 7
2422 # valid range: min=1 max=100000
2423 # $InTimePeriod2 [Number of bars fro 2nd period] - integer
2424 # default: 14
2425 # valid range: min=1 max=100000
2426 # $InTimePeriod3 [Number of bars for 3rd period] - integer
2427 # default: 28
2428 # valid range: min=1 max=100000
2429 # returns: $outpdl - 1D piddle
2430  
2431 =pod
2432  
2433 Broadcasts over its inputs.
2434  
2435 =for bad
2436  
2437 C<ta_ultosc> processes bad values.
2438 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2439  
2440 =cut
2441  
2442  
2443  
2444  
2445 3 *ta_ultosc = \&PDL::ta_ultosc;
2446  
2447  
2448  
2449  
2450  
2451  
2452 =head2 ta_willr
2453  
2454 =for sig
2455  
2456 Signature: (double high(n); double low(n); double close(n); int InTimePeriod(); double [o]outpdl(n))
2457 Types: (double)
2458  
2459 =for usage
2460  
2461 $outpdl = ta_willr($high, $low, $close, $InTimePeriod);
2462 ta_willr($high, $low, $close, $InTimePeriod, $outpdl); # all arguments given
2463 $outpdl = $high->ta_willr($low, $close, $InTimePeriod); # method call
2464 $high->ta_willr($low, $close, $InTimePeriod, $outpdl);
2465  
2466 Williams' %R
2467  
2468 $outpdl = ta_willr($high, $low, $close, $InTimePeriod);
2469  
2470 # $high, $low, $close - 1D piddles, all have to be the same size
2471 # $InTimePeriod [Number of period] - integer
2472 # default: 14
2473 # valid range: min=2 max=100000
2474 # returns: $outpdl - 1D piddle
2475  
2476 =pod
2477  
2478 Broadcasts over its inputs.
2479  
2480 =for bad
2481  
2482 C<ta_willr> processes bad values.
2483 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2484  
2485 =cut
2486  
2487  
2488  
2489  
2490 3 *ta_willr = \&PDL::ta_willr;
2491  
2492  
2493  
2494  
2495  
2496  
2497 =head2 ta_ht_dcperiod
2498  
2499 =for sig
2500  
2501 Signature: (double inpdl(n); double [o]outpdl(n))
2502 Types: (double)
2503  
2504 =for usage
2505  
2506 $outpdl = ta_ht_dcperiod($inpdl);
2507 ta_ht_dcperiod($inpdl, $outpdl); # all arguments given
2508 $outpdl = $inpdl->ta_ht_dcperiod; # method call
2509 $inpdl->ta_ht_dcperiod($outpdl);
2510  
2511 Hilbert Transform - Dominant Cycle Period
2512  
2513 $outpdl = ta_ht_dcperiod($inpdl);
2514  
2515 # $inpdl - 1D piddle with input data
2516 # returns: $outpdl - 1D piddle
2517  
2518 =pod
2519  
2520 Broadcasts over its inputs.
2521  
2522 =for bad
2523  
2524 C<ta_ht_dcperiod> processes bad values.
2525 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2526  
2527 =cut
2528  
2529  
2530  
2531  
2532 3 *ta_ht_dcperiod = \&PDL::ta_ht_dcperiod;
2533  
2534  
2535  
2536  
2537  
2538  
2539 =head2 ta_ht_dcphase
2540  
2541 =for sig
2542  
2543 Signature: (double inpdl(n); double [o]outpdl(n))
2544 Types: (double)
2545  
2546 =for usage
2547  
2548 $outpdl = ta_ht_dcphase($inpdl);
2549 ta_ht_dcphase($inpdl, $outpdl); # all arguments given
2550 $outpdl = $inpdl->ta_ht_dcphase; # method call
2551 $inpdl->ta_ht_dcphase($outpdl);
2552  
2553 Hilbert Transform - Dominant Cycle Phase
2554  
2555 $outpdl = ta_ht_dcphase($inpdl);
2556  
2557 # $inpdl - 1D piddle with input data
2558 # returns: $outpdl - 1D piddle
2559  
2560 =pod
2561  
2562 Broadcasts over its inputs.
2563  
2564 =for bad
2565  
2566 C<ta_ht_dcphase> processes bad values.
2567 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2568  
2569 =cut
2570  
2571  
2572  
2573  
2574 3 *ta_ht_dcphase = \&PDL::ta_ht_dcphase;
2575  
2576  
2577  
2578  
2579  
2580  
2581 =head2 ta_ht_phasor
2582  
2583 =for sig
2584  
2585 Signature: (double inpdl(n); double [o]outInPhase(n); double [o]outQuadrature(n))
2586 Types: (double)
2587  
2588 =for usage
2589  
2590 ($outInPhase, $outQuadrature) = ta_ht_phasor($inpdl);
2591 ta_ht_phasor($inpdl, $outInPhase, $outQuadrature); # all arguments given
2592 ($outInPhase, $outQuadrature) = $inpdl->ta_ht_phasor; # method call
2593 $inpdl->ta_ht_phasor($outInPhase, $outQuadrature);
2594  
2595 Hilbert Transform - Phasor Components
2596  
2597 ($outInPhase, $outQuadrature) = ta_ht_phasor($inpdl);
2598  
2599 # $inpdl - 1D piddle with input data
2600 # returns: $outInPhase - 1D piddle
2601 # returns: $outQuadrature - 1D piddle
2602  
2603 =pod
2604  
2605 Broadcasts over its inputs.
2606  
2607 =for bad
2608  
2609 C<ta_ht_phasor> processes bad values.
2610 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2611  
2612 =cut
2613  
2614  
2615  
2616  
2617 3 *ta_ht_phasor = \&PDL::ta_ht_phasor;
2618  
2619  
2620  
2621  
2622  
2623  
2624 =head2 ta_ht_sine
2625  
2626 =for sig
2627  
2628 Signature: (double inpdl(n); double [o]outSine(n); double [o]outLeadSine(n))
2629 Types: (double)
2630  
2631 =for usage
2632  
2633 ($outSine, $outLeadSine) = ta_ht_sine($inpdl);
2634 ta_ht_sine($inpdl, $outSine, $outLeadSine); # all arguments given
2635 ($outSine, $outLeadSine) = $inpdl->ta_ht_sine; # method call
2636 $inpdl->ta_ht_sine($outSine, $outLeadSine);
2637  
2638 Hilbert Transform - SineWave
2639  
2640 ($outSine, $outLeadSine) = ta_ht_sine($inpdl);
2641  
2642 # $inpdl - 1D piddle with input data
2643 # returns: $outSine - 1D piddle
2644 # returns: $outLeadSine - 1D piddle
2645  
2646 =pod
2647  
2648 Broadcasts over its inputs.
2649  
2650 =for bad
2651  
2652 C<ta_ht_sine> processes bad values.
2653 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2654  
2655 =cut
2656  
2657  
2658  
2659  
2660 3 *ta_ht_sine = \&PDL::ta_ht_sine;
2661  
2662  
2663  
2664  
2665  
2666  
2667 =head2 ta_ht_trendmode
2668  
2669 =for sig
2670  
2671 Signature: (double inpdl(n); int [o]outInteger(n))
2672 Types: (double)
2673  
2674 =for usage
2675  
2676 $outInteger = ta_ht_trendmode($inpdl);
2677 ta_ht_trendmode($inpdl, $outInteger); # all arguments given
2678 $outInteger = $inpdl->ta_ht_trendmode; # method call
2679 $inpdl->ta_ht_trendmode($outInteger);
2680  
2681 Hilbert Transform - Trend vs Cycle Mode
2682  
2683 $outInteger = ta_ht_trendmode($inpdl);
2684  
2685 # $inpdl - 1D piddle with input data
2686 # returns: $outInteger - 1D piddle
2687  
2688 =pod
2689  
2690 Broadcasts over its inputs.
2691  
2692 =for bad
2693  
2694 C<ta_ht_trendmode> processes bad values.
2695 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2696  
2697 =cut
2698  
2699  
2700  
2701  
2702 3 *ta_ht_trendmode = \&PDL::ta_ht_trendmode;
2703  
2704  
2705  
2706  
2707  
2708  
2709 =head2 ta_ad
2710  
2711 =for sig
2712  
2713 Signature: (double high(n); double low(n); double close(n); double volume(n); double [o]outpdl(n))
2714 Types: (double)
2715  
2716 =for usage
2717  
2718 $outpdl = ta_ad($high, $low, $close, $volume);
2719 ta_ad($high, $low, $close, $volume, $outpdl); # all arguments given
2720 $outpdl = $high->ta_ad($low, $close, $volume); # method call
2721 $high->ta_ad($low, $close, $volume, $outpdl);
2722  
2723 Chaikin A/D Line
2724  
2725 $outpdl = ta_ad($high, $low, $close, $volume);
2726  
2727 # $high, $low, $close, $volume - 1D piddles, all have to be the same size
2728 # returns: $outpdl - 1D piddle
2729  
2730 =pod
2731  
2732 Broadcasts over its inputs.
2733  
2734 =for bad
2735  
2736 C<ta_ad> processes bad values.
2737 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2738  
2739 =cut
2740  
2741  
2742  
2743  
2744 3 *ta_ad = \&PDL::ta_ad;
2745  
2746  
2747  
2748  
2749  
2750  
2751 =head2 ta_adosc
2752  
2753 =for sig
2754  
2755 Signature: (double high(n); double low(n); double close(n); double volume(n); int InFastPeriod(); int InSlowPeriod(); double [o]outpdl(n))
2756 Types: (double)
2757  
2758 =for usage
2759  
2760 $outpdl = ta_adosc($high, $low, $close, $volume, $InFastPeriod, $InSlowPeriod);
2761 ta_adosc($high, $low, $close, $volume, $InFastPeriod, $InSlowPeriod, $outpdl); # all arguments given
2762 $outpdl = $high->ta_adosc($low, $close, $volume, $InFastPeriod, $InSlowPeriod); # method call
2763 $high->ta_adosc($low, $close, $volume, $InFastPeriod, $InSlowPeriod, $outpdl);
2764  
2765 Chaikin A/D Oscillator
2766  
2767 $outpdl = ta_adosc($high, $low, $close, $volume, $InFastPeriod, $InSlowPeriod);
2768  
2769 # $high, $low, $close, $volume - 1D piddles, all have to be the same size
2770 # $InFastPeriod [Number of period for the fast MA] - integer
2771 # default: 3
2772 # valid range: min=2 max=100000
2773 # $InSlowPeriod [Number of period for the slow MA] - integer
2774 # default: 10
2775 # valid range: min=2 max=100000
2776 # returns: $outpdl - 1D piddle
2777  
2778 =pod
2779  
2780 Broadcasts over its inputs.
2781  
2782 =for bad
2783  
2784 C<ta_adosc> processes bad values.
2785 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2786  
2787 =cut
2788  
2789  
2790  
2791  
2792 3 *ta_adosc = \&PDL::ta_adosc;
2793  
2794  
2795  
2796  
2797  
2798  
2799 =head2 ta_obv
2800  
2801 =for sig
2802  
2803 Signature: (double inpdl(n); double volume(n); double [o]outpdl(n))
2804 Types: (double)
2805  
2806 =for usage
2807  
2808 $outpdl = ta_obv($inpdl, $volume);
2809 ta_obv($inpdl, $volume, $outpdl); # all arguments given
2810 $outpdl = $inpdl->ta_obv($volume); # method call
2811 $inpdl->ta_obv($volume, $outpdl);
2812  
2813 On Balance Volume
2814  
2815 $outpdl = ta_obv($inpdl, $volume);
2816  
2817 # $inpdl - 1D piddle with input data
2818 # $volume - 1D piddle
2819 # returns: $outpdl - 1D piddle
2820  
2821 =pod
2822  
2823 Broadcasts over its inputs.
2824  
2825 =for bad
2826  
2827 C<ta_obv> processes bad values.
2828 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2829  
2830 =cut
2831  
2832  
2833  
2834  
2835 3 *ta_obv = \&PDL::ta_obv;
2836  
2837  
2838  
2839  
2840  
2841  
2842 =head2 ta_cdl2crows
2843  
2844 =for sig
2845  
2846 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
2847 Types: (double)
2848  
2849 =for usage
2850  
2851 $outInteger = ta_cdl2crows($open, $high, $low, $close);
2852 ta_cdl2crows($open, $high, $low, $close, $outInteger); # all arguments given
2853 $outInteger = $open->ta_cdl2crows($high, $low, $close); # method call
2854 $open->ta_cdl2crows($high, $low, $close, $outInteger);
2855  
2856 Two Crows
2857  
2858 $outInteger = ta_cdl2crows($open, $high, $low, $close);
2859  
2860 # $open, $high, $low, $close - 1D piddles, all have to be the same size
2861 # returns: $outInteger - 1D piddle
2862  
2863 =pod
2864  
2865 Broadcasts over its inputs.
2866  
2867 =for bad
2868  
2869 C<ta_cdl2crows> processes bad values.
2870 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2871  
2872 =cut
2873  
2874  
2875  
2876  
2877 3 *ta_cdl2crows = \&PDL::ta_cdl2crows;
2878  
2879  
2880  
2881  
2882  
2883  
2884 =head2 ta_cdl3blackcrows
2885  
2886 =for sig
2887  
2888 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
2889 Types: (double)
2890  
2891 =for usage
2892  
2893 $outInteger = ta_cdl3blackcrows($open, $high, $low, $close);
2894 ta_cdl3blackcrows($open, $high, $low, $close, $outInteger); # all arguments given
2895 $outInteger = $open->ta_cdl3blackcrows($high, $low, $close); # method call
2896 $open->ta_cdl3blackcrows($high, $low, $close, $outInteger);
2897  
2898 Three Black Crows
2899  
2900 $outInteger = ta_cdl3blackcrows($open, $high, $low, $close);
2901  
2902 # $open, $high, $low, $close - 1D piddles, all have to be the same size
2903 # returns: $outInteger - 1D piddle
2904  
2905 =pod
2906  
2907 Broadcasts over its inputs.
2908  
2909 =for bad
2910  
2911 C<ta_cdl3blackcrows> processes bad values.
2912 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2913  
2914 =cut
2915  
2916  
2917  
2918  
2919 3 *ta_cdl3blackcrows = \&PDL::ta_cdl3blackcrows;
2920  
2921  
2922  
2923  
2924  
2925  
2926 =head2 ta_cdl3inside
2927  
2928 =for sig
2929  
2930 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
2931 Types: (double)
2932  
2933 =for usage
2934  
2935 $outInteger = ta_cdl3inside($open, $high, $low, $close);
2936 ta_cdl3inside($open, $high, $low, $close, $outInteger); # all arguments given
2937 $outInteger = $open->ta_cdl3inside($high, $low, $close); # method call
2938 $open->ta_cdl3inside($high, $low, $close, $outInteger);
2939  
2940 Three Inside Up/Down
2941  
2942 $outInteger = ta_cdl3inside($open, $high, $low, $close);
2943  
2944 # $open, $high, $low, $close - 1D piddles, all have to be the same size
2945 # returns: $outInteger - 1D piddle
2946  
2947 =pod
2948  
2949 Broadcasts over its inputs.
2950  
2951 =for bad
2952  
2953 C<ta_cdl3inside> processes bad values.
2954 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2955  
2956 =cut
2957  
2958  
2959  
2960  
2961 3 *ta_cdl3inside = \&PDL::ta_cdl3inside;
2962  
2963  
2964  
2965  
2966  
2967  
2968 =head2 ta_cdl3linestrike
2969  
2970 =for sig
2971  
2972 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
2973 Types: (double)
2974  
2975 =for usage
2976  
2977 $outInteger = ta_cdl3linestrike($open, $high, $low, $close);
2978 ta_cdl3linestrike($open, $high, $low, $close, $outInteger); # all arguments given
2979 $outInteger = $open->ta_cdl3linestrike($high, $low, $close); # method call
2980 $open->ta_cdl3linestrike($high, $low, $close, $outInteger);
2981  
2982 Three-Line Strike
2983  
2984 $outInteger = ta_cdl3linestrike($open, $high, $low, $close);
2985  
2986 # $open, $high, $low, $close - 1D piddles, all have to be the same size
2987 # returns: $outInteger - 1D piddle
2988  
2989 =pod
2990  
2991 Broadcasts over its inputs.
2992  
2993 =for bad
2994  
2995 C<ta_cdl3linestrike> processes bad values.
2996 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
2997  
2998 =cut
2999  
3000  
3001  
3002  
3003 3 *ta_cdl3linestrike = \&PDL::ta_cdl3linestrike;
3004  
3005  
3006  
3007  
3008  
3009  
3010 =head2 ta_cdl3outside
3011  
3012 =for sig
3013  
3014 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3015 Types: (double)
3016  
3017 =for usage
3018  
3019 $outInteger = ta_cdl3outside($open, $high, $low, $close);
3020 ta_cdl3outside($open, $high, $low, $close, $outInteger); # all arguments given
3021 $outInteger = $open->ta_cdl3outside($high, $low, $close); # method call
3022 $open->ta_cdl3outside($high, $low, $close, $outInteger);
3023  
3024 Three Outside Up/Down
3025  
3026 $outInteger = ta_cdl3outside($open, $high, $low, $close);
3027  
3028 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3029 # returns: $outInteger - 1D piddle
3030  
3031 =pod
3032  
3033 Broadcasts over its inputs.
3034  
3035 =for bad
3036  
3037 C<ta_cdl3outside> processes bad values.
3038 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3039  
3040 =cut
3041  
3042  
3043  
3044  
3045 3 *ta_cdl3outside = \&PDL::ta_cdl3outside;
3046  
3047  
3048  
3049  
3050  
3051  
3052 =head2 ta_cdl3starsinsouth
3053  
3054 =for sig
3055  
3056 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3057 Types: (double)
3058  
3059 =for usage
3060  
3061 $outInteger = ta_cdl3starsinsouth($open, $high, $low, $close);
3062 ta_cdl3starsinsouth($open, $high, $low, $close, $outInteger); # all arguments given
3063 $outInteger = $open->ta_cdl3starsinsouth($high, $low, $close); # method call
3064 $open->ta_cdl3starsinsouth($high, $low, $close, $outInteger);
3065  
3066 Three Stars In The South
3067  
3068 $outInteger = ta_cdl3starsinsouth($open, $high, $low, $close);
3069  
3070 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3071 # returns: $outInteger - 1D piddle
3072  
3073 =pod
3074  
3075 Broadcasts over its inputs.
3076  
3077 =for bad
3078  
3079 C<ta_cdl3starsinsouth> processes bad values.
3080 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3081  
3082 =cut
3083  
3084  
3085  
3086  
3087 3 *ta_cdl3starsinsouth = \&PDL::ta_cdl3starsinsouth;
3088  
3089  
3090  
3091  
3092  
3093  
3094 =head2 ta_cdl3whitesoldiers
3095  
3096 =for sig
3097  
3098 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3099 Types: (double)
3100  
3101 =for usage
3102  
3103 $outInteger = ta_cdl3whitesoldiers($open, $high, $low, $close);
3104 ta_cdl3whitesoldiers($open, $high, $low, $close, $outInteger); # all arguments given
3105 $outInteger = $open->ta_cdl3whitesoldiers($high, $low, $close); # method call
3106 $open->ta_cdl3whitesoldiers($high, $low, $close, $outInteger);
3107  
3108 Three Advancing White Soldiers
3109  
3110 $outInteger = ta_cdl3whitesoldiers($open, $high, $low, $close);
3111  
3112 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3113 # returns: $outInteger - 1D piddle
3114  
3115 =pod
3116  
3117 Broadcasts over its inputs.
3118  
3119 =for bad
3120  
3121 C<ta_cdl3whitesoldiers> processes bad values.
3122 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3123  
3124 =cut
3125  
3126  
3127  
3128  
3129 3 *ta_cdl3whitesoldiers = \&PDL::ta_cdl3whitesoldiers;
3130  
3131  
3132  
3133  
3134  
3135  
3136 =head2 ta_cdlabandonedbaby
3137  
3138 =for sig
3139  
3140 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
3141 Types: (double)
3142  
3143 =for usage
3144  
3145 $outInteger = ta_cdlabandonedbaby($open, $high, $low, $close, $InPenetration);
3146 ta_cdlabandonedbaby($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
3147 $outInteger = $open->ta_cdlabandonedbaby($high, $low, $close, $InPenetration); # method call
3148 $open->ta_cdlabandonedbaby($high, $low, $close, $InPenetration, $outInteger);
3149  
3150 Abandoned Baby
3151  
3152 $outInteger = ta_cdlabandonedbaby($open, $high, $low, $close, $InPenetration);
3153  
3154 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3155 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
3156 # default: 0.3
3157 # valid range: min=0 max=3e+037
3158 # returns: $outInteger - 1D piddle
3159  
3160 =pod
3161  
3162 Broadcasts over its inputs.
3163  
3164 =for bad
3165  
3166 C<ta_cdlabandonedbaby> processes bad values.
3167 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3168  
3169 =cut
3170  
3171  
3172  
3173  
3174 3 *ta_cdlabandonedbaby = \&PDL::ta_cdlabandonedbaby;
3175  
3176  
3177  
3178  
3179  
3180  
3181 =head2 ta_cdladvanceblock
3182  
3183 =for sig
3184  
3185 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3186 Types: (double)
3187  
3188 =for usage
3189  
3190 $outInteger = ta_cdladvanceblock($open, $high, $low, $close);
3191 ta_cdladvanceblock($open, $high, $low, $close, $outInteger); # all arguments given
3192 $outInteger = $open->ta_cdladvanceblock($high, $low, $close); # method call
3193 $open->ta_cdladvanceblock($high, $low, $close, $outInteger);
3194  
3195 Advance Block
3196  
3197 $outInteger = ta_cdladvanceblock($open, $high, $low, $close);
3198  
3199 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3200 # returns: $outInteger - 1D piddle
3201  
3202 =pod
3203  
3204 Broadcasts over its inputs.
3205  
3206 =for bad
3207  
3208 C<ta_cdladvanceblock> processes bad values.
3209 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3210  
3211 =cut
3212  
3213  
3214  
3215  
3216 3 *ta_cdladvanceblock = \&PDL::ta_cdladvanceblock;
3217  
3218  
3219  
3220  
3221  
3222  
3223 =head2 ta_cdlbelthold
3224  
3225 =for sig
3226  
3227 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3228 Types: (double)
3229  
3230 =for usage
3231  
3232 $outInteger = ta_cdlbelthold($open, $high, $low, $close);
3233 ta_cdlbelthold($open, $high, $low, $close, $outInteger); # all arguments given
3234 $outInteger = $open->ta_cdlbelthold($high, $low, $close); # method call
3235 $open->ta_cdlbelthold($high, $low, $close, $outInteger);
3236  
3237 Belt-hold
3238  
3239 $outInteger = ta_cdlbelthold($open, $high, $low, $close);
3240  
3241 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3242 # returns: $outInteger - 1D piddle
3243  
3244 =pod
3245  
3246 Broadcasts over its inputs.
3247  
3248 =for bad
3249  
3250 C<ta_cdlbelthold> processes bad values.
3251 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3252  
3253 =cut
3254  
3255  
3256  
3257  
3258 3 *ta_cdlbelthold = \&PDL::ta_cdlbelthold;
3259  
3260  
3261  
3262  
3263  
3264  
3265 =head2 ta_cdlbreakaway
3266  
3267 =for sig
3268  
3269 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3270 Types: (double)
3271  
3272 =for usage
3273  
3274 $outInteger = ta_cdlbreakaway($open, $high, $low, $close);
3275 ta_cdlbreakaway($open, $high, $low, $close, $outInteger); # all arguments given
3276 $outInteger = $open->ta_cdlbreakaway($high, $low, $close); # method call
3277 $open->ta_cdlbreakaway($high, $low, $close, $outInteger);
3278  
3279 Breakaway
3280  
3281 $outInteger = ta_cdlbreakaway($open, $high, $low, $close);
3282  
3283 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3284 # returns: $outInteger - 1D piddle
3285  
3286 =pod
3287  
3288 Broadcasts over its inputs.
3289  
3290 =for bad
3291  
3292 C<ta_cdlbreakaway> processes bad values.
3293 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3294  
3295 =cut
3296  
3297  
3298  
3299  
3300 3 *ta_cdlbreakaway = \&PDL::ta_cdlbreakaway;
3301  
3302  
3303  
3304  
3305  
3306  
3307 =head2 ta_cdlclosingmarubozu
3308  
3309 =for sig
3310  
3311 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3312 Types: (double)
3313  
3314 =for usage
3315  
3316 $outInteger = ta_cdlclosingmarubozu($open, $high, $low, $close);
3317 ta_cdlclosingmarubozu($open, $high, $low, $close, $outInteger); # all arguments given
3318 $outInteger = $open->ta_cdlclosingmarubozu($high, $low, $close); # method call
3319 $open->ta_cdlclosingmarubozu($high, $low, $close, $outInteger);
3320  
3321 Closing Marubozu
3322  
3323 $outInteger = ta_cdlclosingmarubozu($open, $high, $low, $close);
3324  
3325 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3326 # returns: $outInteger - 1D piddle
3327  
3328 =pod
3329  
3330 Broadcasts over its inputs.
3331  
3332 =for bad
3333  
3334 C<ta_cdlclosingmarubozu> processes bad values.
3335 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3336  
3337 =cut
3338  
3339  
3340  
3341  
3342 3 *ta_cdlclosingmarubozu = \&PDL::ta_cdlclosingmarubozu;
3343  
3344  
3345  
3346  
3347  
3348  
3349 =head2 ta_cdlconcealbabyswall
3350  
3351 =for sig
3352  
3353 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3354 Types: (double)
3355  
3356 =for usage
3357  
3358 $outInteger = ta_cdlconcealbabyswall($open, $high, $low, $close);
3359 ta_cdlconcealbabyswall($open, $high, $low, $close, $outInteger); # all arguments given
3360 $outInteger = $open->ta_cdlconcealbabyswall($high, $low, $close); # method call
3361 $open->ta_cdlconcealbabyswall($high, $low, $close, $outInteger);
3362  
3363 Concealing Baby Swallow
3364  
3365 $outInteger = ta_cdlconcealbabyswall($open, $high, $low, $close);
3366  
3367 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3368 # returns: $outInteger - 1D piddle
3369  
3370 =pod
3371  
3372 Broadcasts over its inputs.
3373  
3374 =for bad
3375  
3376 C<ta_cdlconcealbabyswall> processes bad values.
3377 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3378  
3379 =cut
3380  
3381  
3382  
3383  
3384 3 *ta_cdlconcealbabyswall = \&PDL::ta_cdlconcealbabyswall;
3385  
3386  
3387  
3388  
3389  
3390  
3391 =head2 ta_cdlcounterattack
3392  
3393 =for sig
3394  
3395 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3396 Types: (double)
3397  
3398 =for usage
3399  
3400 $outInteger = ta_cdlcounterattack($open, $high, $low, $close);
3401 ta_cdlcounterattack($open, $high, $low, $close, $outInteger); # all arguments given
3402 $outInteger = $open->ta_cdlcounterattack($high, $low, $close); # method call
3403 $open->ta_cdlcounterattack($high, $low, $close, $outInteger);
3404  
3405 Counterattack
3406  
3407 $outInteger = ta_cdlcounterattack($open, $high, $low, $close);
3408  
3409 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3410 # returns: $outInteger - 1D piddle
3411  
3412 =pod
3413  
3414 Broadcasts over its inputs.
3415  
3416 =for bad
3417  
3418 C<ta_cdlcounterattack> processes bad values.
3419 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3420  
3421 =cut
3422  
3423  
3424  
3425  
3426 3 *ta_cdlcounterattack = \&PDL::ta_cdlcounterattack;
3427  
3428  
3429  
3430  
3431  
3432  
3433 =head2 ta_cdldarkcloudcover
3434  
3435 =for sig
3436  
3437 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
3438 Types: (double)
3439  
3440 =for usage
3441  
3442 $outInteger = ta_cdldarkcloudcover($open, $high, $low, $close, $InPenetration);
3443 ta_cdldarkcloudcover($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
3444 $outInteger = $open->ta_cdldarkcloudcover($high, $low, $close, $InPenetration); # method call
3445 $open->ta_cdldarkcloudcover($high, $low, $close, $InPenetration, $outInteger);
3446  
3447 Dark Cloud Cover
3448  
3449 $outInteger = ta_cdldarkcloudcover($open, $high, $low, $close, $InPenetration);
3450  
3451 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3452 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
3453 # default: 0.5
3454 # valid range: min=0 max=3e+037
3455 # returns: $outInteger - 1D piddle
3456  
3457 =pod
3458  
3459 Broadcasts over its inputs.
3460  
3461 =for bad
3462  
3463 C<ta_cdldarkcloudcover> processes bad values.
3464 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3465  
3466 =cut
3467  
3468  
3469  
3470  
3471 3 *ta_cdldarkcloudcover = \&PDL::ta_cdldarkcloudcover;
3472  
3473  
3474  
3475  
3476  
3477  
3478 =head2 ta_cdldoji
3479  
3480 =for sig
3481  
3482 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3483 Types: (double)
3484  
3485 =for usage
3486  
3487 $outInteger = ta_cdldoji($open, $high, $low, $close);
3488 ta_cdldoji($open, $high, $low, $close, $outInteger); # all arguments given
3489 $outInteger = $open->ta_cdldoji($high, $low, $close); # method call
3490 $open->ta_cdldoji($high, $low, $close, $outInteger);
3491  
3492 Doji
3493  
3494 $outInteger = ta_cdldoji($open, $high, $low, $close);
3495  
3496 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3497 # returns: $outInteger - 1D piddle
3498  
3499 =pod
3500  
3501 Broadcasts over its inputs.
3502  
3503 =for bad
3504  
3505 C<ta_cdldoji> processes bad values.
3506 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3507  
3508 =cut
3509  
3510  
3511  
3512  
3513 3 *ta_cdldoji = \&PDL::ta_cdldoji;
3514  
3515  
3516  
3517  
3518  
3519  
3520 =head2 ta_cdldojistar
3521  
3522 =for sig
3523  
3524 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3525 Types: (double)
3526  
3527 =for usage
3528  
3529 $outInteger = ta_cdldojistar($open, $high, $low, $close);
3530 ta_cdldojistar($open, $high, $low, $close, $outInteger); # all arguments given
3531 $outInteger = $open->ta_cdldojistar($high, $low, $close); # method call
3532 $open->ta_cdldojistar($high, $low, $close, $outInteger);
3533  
3534 Doji Star
3535  
3536 $outInteger = ta_cdldojistar($open, $high, $low, $close);
3537  
3538 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3539 # returns: $outInteger - 1D piddle
3540  
3541 =pod
3542  
3543 Broadcasts over its inputs.
3544  
3545 =for bad
3546  
3547 C<ta_cdldojistar> processes bad values.
3548 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3549  
3550 =cut
3551  
3552  
3553  
3554  
3555 3 *ta_cdldojistar = \&PDL::ta_cdldojistar;
3556  
3557  
3558  
3559  
3560  
3561  
3562 =head2 ta_cdldragonflydoji
3563  
3564 =for sig
3565  
3566 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3567 Types: (double)
3568  
3569 =for usage
3570  
3571 $outInteger = ta_cdldragonflydoji($open, $high, $low, $close);
3572 ta_cdldragonflydoji($open, $high, $low, $close, $outInteger); # all arguments given
3573 $outInteger = $open->ta_cdldragonflydoji($high, $low, $close); # method call
3574 $open->ta_cdldragonflydoji($high, $low, $close, $outInteger);
3575  
3576 Dragonfly Doji
3577  
3578 $outInteger = ta_cdldragonflydoji($open, $high, $low, $close);
3579  
3580 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3581 # returns: $outInteger - 1D piddle
3582  
3583 =pod
3584  
3585 Broadcasts over its inputs.
3586  
3587 =for bad
3588  
3589 C<ta_cdldragonflydoji> processes bad values.
3590 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3591  
3592 =cut
3593  
3594  
3595  
3596  
3597 3 *ta_cdldragonflydoji = \&PDL::ta_cdldragonflydoji;
3598  
3599  
3600  
3601  
3602  
3603  
3604 =head2 ta_cdlengulfing
3605  
3606 =for sig
3607  
3608 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3609 Types: (double)
3610  
3611 =for usage
3612  
3613 $outInteger = ta_cdlengulfing($open, $high, $low, $close);
3614 ta_cdlengulfing($open, $high, $low, $close, $outInteger); # all arguments given
3615 $outInteger = $open->ta_cdlengulfing($high, $low, $close); # method call
3616 $open->ta_cdlengulfing($high, $low, $close, $outInteger);
3617  
3618 Engulfing Pattern
3619  
3620 $outInteger = ta_cdlengulfing($open, $high, $low, $close);
3621  
3622 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3623 # returns: $outInteger - 1D piddle
3624  
3625 =pod
3626  
3627 Broadcasts over its inputs.
3628  
3629 =for bad
3630  
3631 C<ta_cdlengulfing> processes bad values.
3632 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3633  
3634 =cut
3635  
3636  
3637  
3638  
3639 3 *ta_cdlengulfing = \&PDL::ta_cdlengulfing;
3640  
3641  
3642  
3643  
3644  
3645  
3646 =head2 ta_cdleveningdojistar
3647  
3648 =for sig
3649  
3650 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
3651 Types: (double)
3652  
3653 =for usage
3654  
3655 $outInteger = ta_cdleveningdojistar($open, $high, $low, $close, $InPenetration);
3656 ta_cdleveningdojistar($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
3657 $outInteger = $open->ta_cdleveningdojistar($high, $low, $close, $InPenetration); # method call
3658 $open->ta_cdleveningdojistar($high, $low, $close, $InPenetration, $outInteger);
3659  
3660 Evening Doji Star
3661  
3662 $outInteger = ta_cdleveningdojistar($open, $high, $low, $close, $InPenetration);
3663  
3664 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3665 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
3666 # default: 0.3
3667 # valid range: min=0 max=3e+037
3668 # returns: $outInteger - 1D piddle
3669  
3670 =pod
3671  
3672 Broadcasts over its inputs.
3673  
3674 =for bad
3675  
3676 C<ta_cdleveningdojistar> processes bad values.
3677 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3678  
3679 =cut
3680  
3681  
3682  
3683  
3684 3 *ta_cdleveningdojistar = \&PDL::ta_cdleveningdojistar;
3685  
3686  
3687  
3688  
3689  
3690  
3691 =head2 ta_cdleveningstar
3692  
3693 =for sig
3694  
3695 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
3696 Types: (double)
3697  
3698 =for usage
3699  
3700 $outInteger = ta_cdleveningstar($open, $high, $low, $close, $InPenetration);
3701 ta_cdleveningstar($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
3702 $outInteger = $open->ta_cdleveningstar($high, $low, $close, $InPenetration); # method call
3703 $open->ta_cdleveningstar($high, $low, $close, $InPenetration, $outInteger);
3704  
3705 Evening Star
3706  
3707 $outInteger = ta_cdleveningstar($open, $high, $low, $close, $InPenetration);
3708  
3709 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3710 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
3711 # default: 0.3
3712 # valid range: min=0 max=3e+037
3713 # returns: $outInteger - 1D piddle
3714  
3715 =pod
3716  
3717 Broadcasts over its inputs.
3718  
3719 =for bad
3720  
3721 C<ta_cdleveningstar> processes bad values.
3722 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3723  
3724 =cut
3725  
3726  
3727  
3728  
3729 3 *ta_cdleveningstar = \&PDL::ta_cdleveningstar;
3730  
3731  
3732  
3733  
3734  
3735  
3736 =head2 ta_cdlgapsidesidewhite
3737  
3738 =for sig
3739  
3740 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3741 Types: (double)
3742  
3743 =for usage
3744  
3745 $outInteger = ta_cdlgapsidesidewhite($open, $high, $low, $close);
3746 ta_cdlgapsidesidewhite($open, $high, $low, $close, $outInteger); # all arguments given
3747 $outInteger = $open->ta_cdlgapsidesidewhite($high, $low, $close); # method call
3748 $open->ta_cdlgapsidesidewhite($high, $low, $close, $outInteger);
3749  
3750 Up/Down-gap side-by-side white lines
3751  
3752 $outInteger = ta_cdlgapsidesidewhite($open, $high, $low, $close);
3753  
3754 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3755 # returns: $outInteger - 1D piddle
3756  
3757 =pod
3758  
3759 Broadcasts over its inputs.
3760  
3761 =for bad
3762  
3763 C<ta_cdlgapsidesidewhite> processes bad values.
3764 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3765  
3766 =cut
3767  
3768  
3769  
3770  
3771 3 *ta_cdlgapsidesidewhite = \&PDL::ta_cdlgapsidesidewhite;
3772  
3773  
3774  
3775  
3776  
3777  
3778 =head2 ta_cdlgravestonedoji
3779  
3780 =for sig
3781  
3782 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3783 Types: (double)
3784  
3785 =for usage
3786  
3787 $outInteger = ta_cdlgravestonedoji($open, $high, $low, $close);
3788 ta_cdlgravestonedoji($open, $high, $low, $close, $outInteger); # all arguments given
3789 $outInteger = $open->ta_cdlgravestonedoji($high, $low, $close); # method call
3790 $open->ta_cdlgravestonedoji($high, $low, $close, $outInteger);
3791  
3792 Gravestone Doji
3793  
3794 $outInteger = ta_cdlgravestonedoji($open, $high, $low, $close);
3795  
3796 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3797 # returns: $outInteger - 1D piddle
3798  
3799 =pod
3800  
3801 Broadcasts over its inputs.
3802  
3803 =for bad
3804  
3805 C<ta_cdlgravestonedoji> processes bad values.
3806 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3807  
3808 =cut
3809  
3810  
3811  
3812  
3813 3 *ta_cdlgravestonedoji = \&PDL::ta_cdlgravestonedoji;
3814  
3815  
3816  
3817  
3818  
3819  
3820 =head2 ta_cdlhammer
3821  
3822 =for sig
3823  
3824 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3825 Types: (double)
3826  
3827 =for usage
3828  
3829 $outInteger = ta_cdlhammer($open, $high, $low, $close);
3830 ta_cdlhammer($open, $high, $low, $close, $outInteger); # all arguments given
3831 $outInteger = $open->ta_cdlhammer($high, $low, $close); # method call
3832 $open->ta_cdlhammer($high, $low, $close, $outInteger);
3833  
3834 Hammer
3835  
3836 $outInteger = ta_cdlhammer($open, $high, $low, $close);
3837  
3838 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3839 # returns: $outInteger - 1D piddle
3840  
3841 =pod
3842  
3843 Broadcasts over its inputs.
3844  
3845 =for bad
3846  
3847 C<ta_cdlhammer> processes bad values.
3848 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3849  
3850 =cut
3851  
3852  
3853  
3854  
3855 3 *ta_cdlhammer = \&PDL::ta_cdlhammer;
3856  
3857  
3858  
3859  
3860  
3861  
3862 =head2 ta_cdlhangingman
3863  
3864 =for sig
3865  
3866 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3867 Types: (double)
3868  
3869 =for usage
3870  
3871 $outInteger = ta_cdlhangingman($open, $high, $low, $close);
3872 ta_cdlhangingman($open, $high, $low, $close, $outInteger); # all arguments given
3873 $outInteger = $open->ta_cdlhangingman($high, $low, $close); # method call
3874 $open->ta_cdlhangingman($high, $low, $close, $outInteger);
3875  
3876 Hanging Man
3877  
3878 $outInteger = ta_cdlhangingman($open, $high, $low, $close);
3879  
3880 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3881 # returns: $outInteger - 1D piddle
3882  
3883 =pod
3884  
3885 Broadcasts over its inputs.
3886  
3887 =for bad
3888  
3889 C<ta_cdlhangingman> processes bad values.
3890 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3891  
3892 =cut
3893  
3894  
3895  
3896  
3897 3 *ta_cdlhangingman = \&PDL::ta_cdlhangingman;
3898  
3899  
3900  
3901  
3902  
3903  
3904 =head2 ta_cdlharami
3905  
3906 =for sig
3907  
3908 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3909 Types: (double)
3910  
3911 =for usage
3912  
3913 $outInteger = ta_cdlharami($open, $high, $low, $close);
3914 ta_cdlharami($open, $high, $low, $close, $outInteger); # all arguments given
3915 $outInteger = $open->ta_cdlharami($high, $low, $close); # method call
3916 $open->ta_cdlharami($high, $low, $close, $outInteger);
3917  
3918 Harami Pattern
3919  
3920 $outInteger = ta_cdlharami($open, $high, $low, $close);
3921  
3922 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3923 # returns: $outInteger - 1D piddle
3924  
3925 =pod
3926  
3927 Broadcasts over its inputs.
3928  
3929 =for bad
3930  
3931 C<ta_cdlharami> processes bad values.
3932 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3933  
3934 =cut
3935  
3936  
3937  
3938  
3939 3 *ta_cdlharami = \&PDL::ta_cdlharami;
3940  
3941  
3942  
3943  
3944  
3945  
3946 =head2 ta_cdlharamicross
3947  
3948 =for sig
3949  
3950 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3951 Types: (double)
3952  
3953 =for usage
3954  
3955 $outInteger = ta_cdlharamicross($open, $high, $low, $close);
3956 ta_cdlharamicross($open, $high, $low, $close, $outInteger); # all arguments given
3957 $outInteger = $open->ta_cdlharamicross($high, $low, $close); # method call
3958 $open->ta_cdlharamicross($high, $low, $close, $outInteger);
3959  
3960 Harami Cross Pattern
3961  
3962 $outInteger = ta_cdlharamicross($open, $high, $low, $close);
3963  
3964 # $open, $high, $low, $close - 1D piddles, all have to be the same size
3965 # returns: $outInteger - 1D piddle
3966  
3967 =pod
3968  
3969 Broadcasts over its inputs.
3970  
3971 =for bad
3972  
3973 C<ta_cdlharamicross> processes bad values.
3974 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
3975  
3976 =cut
3977  
3978  
3979  
3980  
3981 3 *ta_cdlharamicross = \&PDL::ta_cdlharamicross;
3982  
3983  
3984  
3985  
3986  
3987  
3988 =head2 ta_cdlhighwave
3989  
3990 =for sig
3991  
3992 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
3993 Types: (double)
3994  
3995 =for usage
3996  
3997 $outInteger = ta_cdlhighwave($open, $high, $low, $close);
3998 ta_cdlhighwave($open, $high, $low, $close, $outInteger); # all arguments given
3999 $outInteger = $open->ta_cdlhighwave($high, $low, $close); # method call
4000 $open->ta_cdlhighwave($high, $low, $close, $outInteger);
4001  
4002 High-Wave Candle
4003  
4004 $outInteger = ta_cdlhighwave($open, $high, $low, $close);
4005  
4006 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4007 # returns: $outInteger - 1D piddle
4008  
4009 =pod
4010  
4011 Broadcasts over its inputs.
4012  
4013 =for bad
4014  
4015 C<ta_cdlhighwave> processes bad values.
4016 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4017  
4018 =cut
4019  
4020  
4021  
4022  
4023 3 *ta_cdlhighwave = \&PDL::ta_cdlhighwave;
4024  
4025  
4026  
4027  
4028  
4029  
4030 =head2 ta_cdlhikkake
4031  
4032 =for sig
4033  
4034 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4035 Types: (double)
4036  
4037 =for usage
4038  
4039 $outInteger = ta_cdlhikkake($open, $high, $low, $close);
4040 ta_cdlhikkake($open, $high, $low, $close, $outInteger); # all arguments given
4041 $outInteger = $open->ta_cdlhikkake($high, $low, $close); # method call
4042 $open->ta_cdlhikkake($high, $low, $close, $outInteger);
4043  
4044 Hikkake Pattern
4045  
4046 $outInteger = ta_cdlhikkake($open, $high, $low, $close);
4047  
4048 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4049 # returns: $outInteger - 1D piddle
4050  
4051 =pod
4052  
4053 Broadcasts over its inputs.
4054  
4055 =for bad
4056  
4057 C<ta_cdlhikkake> processes bad values.
4058 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4059  
4060 =cut
4061  
4062  
4063  
4064  
4065 3 *ta_cdlhikkake = \&PDL::ta_cdlhikkake;
4066  
4067  
4068  
4069  
4070  
4071  
4072 =head2 ta_cdlhikkakemod
4073  
4074 =for sig
4075  
4076 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4077 Types: (double)
4078  
4079 =for usage
4080  
4081 $outInteger = ta_cdlhikkakemod($open, $high, $low, $close);
4082 ta_cdlhikkakemod($open, $high, $low, $close, $outInteger); # all arguments given
4083 $outInteger = $open->ta_cdlhikkakemod($high, $low, $close); # method call
4084 $open->ta_cdlhikkakemod($high, $low, $close, $outInteger);
4085  
4086 Modified Hikkake Pattern
4087  
4088 $outInteger = ta_cdlhikkakemod($open, $high, $low, $close);
4089  
4090 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4091 # returns: $outInteger - 1D piddle
4092  
4093 =pod
4094  
4095 Broadcasts over its inputs.
4096  
4097 =for bad
4098  
4099 C<ta_cdlhikkakemod> processes bad values.
4100 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4101  
4102 =cut
4103  
4104  
4105  
4106  
4107 3 *ta_cdlhikkakemod = \&PDL::ta_cdlhikkakemod;
4108  
4109  
4110  
4111  
4112  
4113  
4114 =head2 ta_cdlhomingpigeon
4115  
4116 =for sig
4117  
4118 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4119 Types: (double)
4120  
4121 =for usage
4122  
4123 $outInteger = ta_cdlhomingpigeon($open, $high, $low, $close);
4124 ta_cdlhomingpigeon($open, $high, $low, $close, $outInteger); # all arguments given
4125 $outInteger = $open->ta_cdlhomingpigeon($high, $low, $close); # method call
4126 $open->ta_cdlhomingpigeon($high, $low, $close, $outInteger);
4127  
4128 Homing Pigeon
4129  
4130 $outInteger = ta_cdlhomingpigeon($open, $high, $low, $close);
4131  
4132 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4133 # returns: $outInteger - 1D piddle
4134  
4135 =pod
4136  
4137 Broadcasts over its inputs.
4138  
4139 =for bad
4140  
4141 C<ta_cdlhomingpigeon> processes bad values.
4142 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4143  
4144 =cut
4145  
4146  
4147  
4148  
4149 3 *ta_cdlhomingpigeon = \&PDL::ta_cdlhomingpigeon;
4150  
4151  
4152  
4153  
4154  
4155  
4156 =head2 ta_cdlidentical3crows
4157  
4158 =for sig
4159  
4160 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4161 Types: (double)
4162  
4163 =for usage
4164  
4165 $outInteger = ta_cdlidentical3crows($open, $high, $low, $close);
4166 ta_cdlidentical3crows($open, $high, $low, $close, $outInteger); # all arguments given
4167 $outInteger = $open->ta_cdlidentical3crows($high, $low, $close); # method call
4168 $open->ta_cdlidentical3crows($high, $low, $close, $outInteger);
4169  
4170 Identical Three Crows
4171  
4172 $outInteger = ta_cdlidentical3crows($open, $high, $low, $close);
4173  
4174 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4175 # returns: $outInteger - 1D piddle
4176  
4177 =pod
4178  
4179 Broadcasts over its inputs.
4180  
4181 =for bad
4182  
4183 C<ta_cdlidentical3crows> processes bad values.
4184 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4185  
4186 =cut
4187  
4188  
4189  
4190  
4191 3 *ta_cdlidentical3crows = \&PDL::ta_cdlidentical3crows;
4192  
4193  
4194  
4195  
4196  
4197  
4198 =head2 ta_cdlinneck
4199  
4200 =for sig
4201  
4202 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4203 Types: (double)
4204  
4205 =for usage
4206  
4207 $outInteger = ta_cdlinneck($open, $high, $low, $close);
4208 ta_cdlinneck($open, $high, $low, $close, $outInteger); # all arguments given
4209 $outInteger = $open->ta_cdlinneck($high, $low, $close); # method call
4210 $open->ta_cdlinneck($high, $low, $close, $outInteger);
4211  
4212 In-Neck Pattern
4213  
4214 $outInteger = ta_cdlinneck($open, $high, $low, $close);
4215  
4216 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4217 # returns: $outInteger - 1D piddle
4218  
4219 =pod
4220  
4221 Broadcasts over its inputs.
4222  
4223 =for bad
4224  
4225 C<ta_cdlinneck> processes bad values.
4226 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4227  
4228 =cut
4229  
4230  
4231  
4232  
4233 3 *ta_cdlinneck = \&PDL::ta_cdlinneck;
4234  
4235  
4236  
4237  
4238  
4239  
4240 =head2 ta_cdlinvertedhammer
4241  
4242 =for sig
4243  
4244 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4245 Types: (double)
4246  
4247 =for usage
4248  
4249 $outInteger = ta_cdlinvertedhammer($open, $high, $low, $close);
4250 ta_cdlinvertedhammer($open, $high, $low, $close, $outInteger); # all arguments given
4251 $outInteger = $open->ta_cdlinvertedhammer($high, $low, $close); # method call
4252 $open->ta_cdlinvertedhammer($high, $low, $close, $outInteger);
4253  
4254 Inverted Hammer
4255  
4256 $outInteger = ta_cdlinvertedhammer($open, $high, $low, $close);
4257  
4258 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4259 # returns: $outInteger - 1D piddle
4260  
4261 =pod
4262  
4263 Broadcasts over its inputs.
4264  
4265 =for bad
4266  
4267 C<ta_cdlinvertedhammer> processes bad values.
4268 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4269  
4270 =cut
4271  
4272  
4273  
4274  
4275 3 *ta_cdlinvertedhammer = \&PDL::ta_cdlinvertedhammer;
4276  
4277  
4278  
4279  
4280  
4281  
4282 =head2 ta_cdlkicking
4283  
4284 =for sig
4285  
4286 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4287 Types: (double)
4288  
4289 =for usage
4290  
4291 $outInteger = ta_cdlkicking($open, $high, $low, $close);
4292 ta_cdlkicking($open, $high, $low, $close, $outInteger); # all arguments given
4293 $outInteger = $open->ta_cdlkicking($high, $low, $close); # method call
4294 $open->ta_cdlkicking($high, $low, $close, $outInteger);
4295  
4296 Kicking
4297  
4298 $outInteger = ta_cdlkicking($open, $high, $low, $close);
4299  
4300 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4301 # returns: $outInteger - 1D piddle
4302  
4303 =pod
4304  
4305 Broadcasts over its inputs.
4306  
4307 =for bad
4308  
4309 C<ta_cdlkicking> processes bad values.
4310 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4311  
4312 =cut
4313  
4314  
4315  
4316  
4317 3 *ta_cdlkicking = \&PDL::ta_cdlkicking;
4318  
4319  
4320  
4321  
4322  
4323  
4324 =head2 ta_cdlkickingbylength
4325  
4326 =for sig
4327  
4328 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4329 Types: (double)
4330  
4331 =for usage
4332  
4333 $outInteger = ta_cdlkickingbylength($open, $high, $low, $close);
4334 ta_cdlkickingbylength($open, $high, $low, $close, $outInteger); # all arguments given
4335 $outInteger = $open->ta_cdlkickingbylength($high, $low, $close); # method call
4336 $open->ta_cdlkickingbylength($high, $low, $close, $outInteger);
4337  
4338 Kicking - bull/bear determined by the longer marubozu
4339  
4340 $outInteger = ta_cdlkickingbylength($open, $high, $low, $close);
4341  
4342 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4343 # returns: $outInteger - 1D piddle
4344  
4345 =pod
4346  
4347 Broadcasts over its inputs.
4348  
4349 =for bad
4350  
4351 C<ta_cdlkickingbylength> processes bad values.
4352 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4353  
4354 =cut
4355  
4356  
4357  
4358  
4359 3 *ta_cdlkickingbylength = \&PDL::ta_cdlkickingbylength;
4360  
4361  
4362  
4363  
4364  
4365  
4366 =head2 ta_cdlladderbottom
4367  
4368 =for sig
4369  
4370 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4371 Types: (double)
4372  
4373 =for usage
4374  
4375 $outInteger = ta_cdlladderbottom($open, $high, $low, $close);
4376 ta_cdlladderbottom($open, $high, $low, $close, $outInteger); # all arguments given
4377 $outInteger = $open->ta_cdlladderbottom($high, $low, $close); # method call
4378 $open->ta_cdlladderbottom($high, $low, $close, $outInteger);
4379  
4380 Ladder Bottom
4381  
4382 $outInteger = ta_cdlladderbottom($open, $high, $low, $close);
4383  
4384 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4385 # returns: $outInteger - 1D piddle
4386  
4387 =pod
4388  
4389 Broadcasts over its inputs.
4390  
4391 =for bad
4392  
4393 C<ta_cdlladderbottom> processes bad values.
4394 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4395  
4396 =cut
4397  
4398  
4399  
4400  
4401 3 *ta_cdlladderbottom = \&PDL::ta_cdlladderbottom;
4402  
4403  
4404  
4405  
4406  
4407  
4408 =head2 ta_cdllongleggeddoji
4409  
4410 =for sig
4411  
4412 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4413 Types: (double)
4414  
4415 =for usage
4416  
4417 $outInteger = ta_cdllongleggeddoji($open, $high, $low, $close);
4418 ta_cdllongleggeddoji($open, $high, $low, $close, $outInteger); # all arguments given
4419 $outInteger = $open->ta_cdllongleggeddoji($high, $low, $close); # method call
4420 $open->ta_cdllongleggeddoji($high, $low, $close, $outInteger);
4421  
4422 Long Legged Doji
4423  
4424 $outInteger = ta_cdllongleggeddoji($open, $high, $low, $close);
4425  
4426 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4427 # returns: $outInteger - 1D piddle
4428  
4429 =pod
4430  
4431 Broadcasts over its inputs.
4432  
4433 =for bad
4434  
4435 C<ta_cdllongleggeddoji> processes bad values.
4436 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4437  
4438 =cut
4439  
4440  
4441  
4442  
4443 3 *ta_cdllongleggeddoji = \&PDL::ta_cdllongleggeddoji;
4444  
4445  
4446  
4447  
4448  
4449  
4450 =head2 ta_cdllongline
4451  
4452 =for sig
4453  
4454 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4455 Types: (double)
4456  
4457 =for usage
4458  
4459 $outInteger = ta_cdllongline($open, $high, $low, $close);
4460 ta_cdllongline($open, $high, $low, $close, $outInteger); # all arguments given
4461 $outInteger = $open->ta_cdllongline($high, $low, $close); # method call
4462 $open->ta_cdllongline($high, $low, $close, $outInteger);
4463  
4464 Long Line Candle
4465  
4466 $outInteger = ta_cdllongline($open, $high, $low, $close);
4467  
4468 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4469 # returns: $outInteger - 1D piddle
4470  
4471 =pod
4472  
4473 Broadcasts over its inputs.
4474  
4475 =for bad
4476  
4477 C<ta_cdllongline> processes bad values.
4478 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4479  
4480 =cut
4481  
4482  
4483  
4484  
4485 3 *ta_cdllongline = \&PDL::ta_cdllongline;
4486  
4487  
4488  
4489  
4490  
4491  
4492 =head2 ta_cdlmarubozu
4493  
4494 =for sig
4495  
4496 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4497 Types: (double)
4498  
4499 =for usage
4500  
4501 $outInteger = ta_cdlmarubozu($open, $high, $low, $close);
4502 ta_cdlmarubozu($open, $high, $low, $close, $outInteger); # all arguments given
4503 $outInteger = $open->ta_cdlmarubozu($high, $low, $close); # method call
4504 $open->ta_cdlmarubozu($high, $low, $close, $outInteger);
4505  
4506 Marubozu
4507  
4508 $outInteger = ta_cdlmarubozu($open, $high, $low, $close);
4509  
4510 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4511 # returns: $outInteger - 1D piddle
4512  
4513 =pod
4514  
4515 Broadcasts over its inputs.
4516  
4517 =for bad
4518  
4519 C<ta_cdlmarubozu> processes bad values.
4520 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4521  
4522 =cut
4523  
4524  
4525  
4526  
4527 3 *ta_cdlmarubozu = \&PDL::ta_cdlmarubozu;
4528  
4529  
4530  
4531  
4532  
4533  
4534 =head2 ta_cdlmatchinglow
4535  
4536 =for sig
4537  
4538 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4539 Types: (double)
4540  
4541 =for usage
4542  
4543 $outInteger = ta_cdlmatchinglow($open, $high, $low, $close);
4544 ta_cdlmatchinglow($open, $high, $low, $close, $outInteger); # all arguments given
4545 $outInteger = $open->ta_cdlmatchinglow($high, $low, $close); # method call
4546 $open->ta_cdlmatchinglow($high, $low, $close, $outInteger);
4547  
4548 Matching Low
4549  
4550 $outInteger = ta_cdlmatchinglow($open, $high, $low, $close);
4551  
4552 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4553 # returns: $outInteger - 1D piddle
4554  
4555 =pod
4556  
4557 Broadcasts over its inputs.
4558  
4559 =for bad
4560  
4561 C<ta_cdlmatchinglow> processes bad values.
4562 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4563  
4564 =cut
4565  
4566  
4567  
4568  
4569 3 *ta_cdlmatchinglow = \&PDL::ta_cdlmatchinglow;
4570  
4571  
4572  
4573  
4574  
4575  
4576 =head2 ta_cdlmathold
4577  
4578 =for sig
4579  
4580 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
4581 Types: (double)
4582  
4583 =for usage
4584  
4585 $outInteger = ta_cdlmathold($open, $high, $low, $close, $InPenetration);
4586 ta_cdlmathold($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
4587 $outInteger = $open->ta_cdlmathold($high, $low, $close, $InPenetration); # method call
4588 $open->ta_cdlmathold($high, $low, $close, $InPenetration, $outInteger);
4589  
4590 Mat Hold
4591  
4592 $outInteger = ta_cdlmathold($open, $high, $low, $close, $InPenetration);
4593  
4594 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4595 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
4596 # default: 0.5
4597 # valid range: min=0 max=3e+037
4598 # returns: $outInteger - 1D piddle
4599  
4600 =pod
4601  
4602 Broadcasts over its inputs.
4603  
4604 =for bad
4605  
4606 C<ta_cdlmathold> processes bad values.
4607 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4608  
4609 =cut
4610  
4611  
4612  
4613  
4614 3 *ta_cdlmathold = \&PDL::ta_cdlmathold;
4615  
4616  
4617  
4618  
4619  
4620  
4621 =head2 ta_cdlmorningdojistar
4622  
4623 =for sig
4624  
4625 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
4626 Types: (double)
4627  
4628 =for usage
4629  
4630 $outInteger = ta_cdlmorningdojistar($open, $high, $low, $close, $InPenetration);
4631 ta_cdlmorningdojistar($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
4632 $outInteger = $open->ta_cdlmorningdojistar($high, $low, $close, $InPenetration); # method call
4633 $open->ta_cdlmorningdojistar($high, $low, $close, $InPenetration, $outInteger);
4634  
4635 Morning Doji Star
4636  
4637 $outInteger = ta_cdlmorningdojistar($open, $high, $low, $close, $InPenetration);
4638  
4639 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4640 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
4641 # default: 0.3
4642 # valid range: min=0 max=3e+037
4643 # returns: $outInteger - 1D piddle
4644  
4645 =pod
4646  
4647 Broadcasts over its inputs.
4648  
4649 =for bad
4650  
4651 C<ta_cdlmorningdojistar> processes bad values.
4652 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4653  
4654 =cut
4655  
4656  
4657  
4658  
4659 3 *ta_cdlmorningdojistar = \&PDL::ta_cdlmorningdojistar;
4660  
4661  
4662  
4663  
4664  
4665  
4666 =head2 ta_cdlmorningstar
4667  
4668 =for sig
4669  
4670 Signature: (double open(n); double high(n); double low(n); double close(n); double InPenetration(); int [o]outInteger(n))
4671 Types: (double)
4672  
4673 =for usage
4674  
4675 $outInteger = ta_cdlmorningstar($open, $high, $low, $close, $InPenetration);
4676 ta_cdlmorningstar($open, $high, $low, $close, $InPenetration, $outInteger); # all arguments given
4677 $outInteger = $open->ta_cdlmorningstar($high, $low, $close, $InPenetration); # method call
4678 $open->ta_cdlmorningstar($high, $low, $close, $InPenetration, $outInteger);
4679  
4680 Morning Star
4681  
4682 $outInteger = ta_cdlmorningstar($open, $high, $low, $close, $InPenetration);
4683  
4684 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4685 # $InPenetration [Percentage of penetration of a candle within another candle] - real number
4686 # default: 0.3
4687 # valid range: min=0 max=3e+037
4688 # returns: $outInteger - 1D piddle
4689  
4690 =pod
4691  
4692 Broadcasts over its inputs.
4693  
4694 =for bad
4695  
4696 C<ta_cdlmorningstar> processes bad values.
4697 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4698  
4699 =cut
4700  
4701  
4702  
4703  
4704 3 *ta_cdlmorningstar = \&PDL::ta_cdlmorningstar;
4705  
4706  
4707  
4708  
4709  
4710  
4711 =head2 ta_cdlonneck
4712  
4713 =for sig
4714  
4715 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4716 Types: (double)
4717  
4718 =for usage
4719  
4720 $outInteger = ta_cdlonneck($open, $high, $low, $close);
4721 ta_cdlonneck($open, $high, $low, $close, $outInteger); # all arguments given
4722 $outInteger = $open->ta_cdlonneck($high, $low, $close); # method call
4723 $open->ta_cdlonneck($high, $low, $close, $outInteger);
4724  
4725 On-Neck Pattern
4726  
4727 $outInteger = ta_cdlonneck($open, $high, $low, $close);
4728  
4729 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4730 # returns: $outInteger - 1D piddle
4731  
4732 =pod
4733  
4734 Broadcasts over its inputs.
4735  
4736 =for bad
4737  
4738 C<ta_cdlonneck> processes bad values.
4739 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4740  
4741 =cut
4742  
4743  
4744  
4745  
4746 3 *ta_cdlonneck = \&PDL::ta_cdlonneck;
4747  
4748  
4749  
4750  
4751  
4752  
4753 =head2 ta_cdlpiercing
4754  
4755 =for sig
4756  
4757 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4758 Types: (double)
4759  
4760 =for usage
4761  
4762 $outInteger = ta_cdlpiercing($open, $high, $low, $close);
4763 ta_cdlpiercing($open, $high, $low, $close, $outInteger); # all arguments given
4764 $outInteger = $open->ta_cdlpiercing($high, $low, $close); # method call
4765 $open->ta_cdlpiercing($high, $low, $close, $outInteger);
4766  
4767 Piercing Pattern
4768  
4769 $outInteger = ta_cdlpiercing($open, $high, $low, $close);
4770  
4771 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4772 # returns: $outInteger - 1D piddle
4773  
4774 =pod
4775  
4776 Broadcasts over its inputs.
4777  
4778 =for bad
4779  
4780 C<ta_cdlpiercing> processes bad values.
4781 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4782  
4783 =cut
4784  
4785  
4786  
4787  
4788 3 *ta_cdlpiercing = \&PDL::ta_cdlpiercing;
4789  
4790  
4791  
4792  
4793  
4794  
4795 =head2 ta_cdlrickshawman
4796  
4797 =for sig
4798  
4799 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4800 Types: (double)
4801  
4802 =for usage
4803  
4804 $outInteger = ta_cdlrickshawman($open, $high, $low, $close);
4805 ta_cdlrickshawman($open, $high, $low, $close, $outInteger); # all arguments given
4806 $outInteger = $open->ta_cdlrickshawman($high, $low, $close); # method call
4807 $open->ta_cdlrickshawman($high, $low, $close, $outInteger);
4808  
4809 Rickshaw Man
4810  
4811 $outInteger = ta_cdlrickshawman($open, $high, $low, $close);
4812  
4813 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4814 # returns: $outInteger - 1D piddle
4815  
4816 =pod
4817  
4818 Broadcasts over its inputs.
4819  
4820 =for bad
4821  
4822 C<ta_cdlrickshawman> processes bad values.
4823 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4824  
4825 =cut
4826  
4827  
4828  
4829  
4830 3 *ta_cdlrickshawman = \&PDL::ta_cdlrickshawman;
4831  
4832  
4833  
4834  
4835  
4836  
4837 =head2 ta_cdlrisefall3methods
4838  
4839 =for sig
4840  
4841 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4842 Types: (double)
4843  
4844 =for usage
4845  
4846 $outInteger = ta_cdlrisefall3methods($open, $high, $low, $close);
4847 ta_cdlrisefall3methods($open, $high, $low, $close, $outInteger); # all arguments given
4848 $outInteger = $open->ta_cdlrisefall3methods($high, $low, $close); # method call
4849 $open->ta_cdlrisefall3methods($high, $low, $close, $outInteger);
4850  
4851 Rising/Falling Three Methods
4852  
4853 $outInteger = ta_cdlrisefall3methods($open, $high, $low, $close);
4854  
4855 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4856 # returns: $outInteger - 1D piddle
4857  
4858 =pod
4859  
4860 Broadcasts over its inputs.
4861  
4862 =for bad
4863  
4864 C<ta_cdlrisefall3methods> processes bad values.
4865 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4866  
4867 =cut
4868  
4869  
4870  
4871  
4872 3 *ta_cdlrisefall3methods = \&PDL::ta_cdlrisefall3methods;
4873  
4874  
4875  
4876  
4877  
4878  
4879 =head2 ta_cdlseparatinglines
4880  
4881 =for sig
4882  
4883 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4884 Types: (double)
4885  
4886 =for usage
4887  
4888 $outInteger = ta_cdlseparatinglines($open, $high, $low, $close);
4889 ta_cdlseparatinglines($open, $high, $low, $close, $outInteger); # all arguments given
4890 $outInteger = $open->ta_cdlseparatinglines($high, $low, $close); # method call
4891 $open->ta_cdlseparatinglines($high, $low, $close, $outInteger);
4892  
4893 Separating Lines
4894  
4895 $outInteger = ta_cdlseparatinglines($open, $high, $low, $close);
4896  
4897 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4898 # returns: $outInteger - 1D piddle
4899  
4900 =pod
4901  
4902 Broadcasts over its inputs.
4903  
4904 =for bad
4905  
4906 C<ta_cdlseparatinglines> processes bad values.
4907 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4908  
4909 =cut
4910  
4911  
4912  
4913  
4914 3 *ta_cdlseparatinglines = \&PDL::ta_cdlseparatinglines;
4915  
4916  
4917  
4918  
4919  
4920  
4921 =head2 ta_cdlshootingstar
4922  
4923 =for sig
4924  
4925 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4926 Types: (double)
4927  
4928 =for usage
4929  
4930 $outInteger = ta_cdlshootingstar($open, $high, $low, $close);
4931 ta_cdlshootingstar($open, $high, $low, $close, $outInteger); # all arguments given
4932 $outInteger = $open->ta_cdlshootingstar($high, $low, $close); # method call
4933 $open->ta_cdlshootingstar($high, $low, $close, $outInteger);
4934  
4935 Shooting Star
4936  
4937 $outInteger = ta_cdlshootingstar($open, $high, $low, $close);
4938  
4939 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4940 # returns: $outInteger - 1D piddle
4941  
4942 =pod
4943  
4944 Broadcasts over its inputs.
4945  
4946 =for bad
4947  
4948 C<ta_cdlshootingstar> processes bad values.
4949 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4950  
4951 =cut
4952  
4953  
4954  
4955  
4956 3 *ta_cdlshootingstar = \&PDL::ta_cdlshootingstar;
4957  
4958  
4959  
4960  
4961  
4962  
4963 =head2 ta_cdlshortline
4964  
4965 =for sig
4966  
4967 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
4968 Types: (double)
4969  
4970 =for usage
4971  
4972 $outInteger = ta_cdlshortline($open, $high, $low, $close);
4973 ta_cdlshortline($open, $high, $low, $close, $outInteger); # all arguments given
4974 $outInteger = $open->ta_cdlshortline($high, $low, $close); # method call
4975 $open->ta_cdlshortline($high, $low, $close, $outInteger);
4976  
4977 Short Line Candle
4978  
4979 $outInteger = ta_cdlshortline($open, $high, $low, $close);
4980  
4981 # $open, $high, $low, $close - 1D piddles, all have to be the same size
4982 # returns: $outInteger - 1D piddle
4983  
4984 =pod
4985  
4986 Broadcasts over its inputs.
4987  
4988 =for bad
4989  
4990 C<ta_cdlshortline> processes bad values.
4991 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
4992  
4993 =cut
4994  
4995  
4996  
4997  
4998 3 *ta_cdlshortline = \&PDL::ta_cdlshortline;
4999  
5000  
5001  
5002  
5003  
5004  
5005 =head2 ta_cdlspinningtop
5006  
5007 =for sig
5008  
5009 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5010 Types: (double)
5011  
5012 =for usage
5013  
5014 $outInteger = ta_cdlspinningtop($open, $high, $low, $close);
5015 ta_cdlspinningtop($open, $high, $low, $close, $outInteger); # all arguments given
5016 $outInteger = $open->ta_cdlspinningtop($high, $low, $close); # method call
5017 $open->ta_cdlspinningtop($high, $low, $close, $outInteger);
5018  
5019 Spinning Top
5020  
5021 $outInteger = ta_cdlspinningtop($open, $high, $low, $close);
5022  
5023 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5024 # returns: $outInteger - 1D piddle
5025  
5026 =pod
5027  
5028 Broadcasts over its inputs.
5029  
5030 =for bad
5031  
5032 C<ta_cdlspinningtop> processes bad values.
5033 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5034  
5035 =cut
5036  
5037  
5038  
5039  
5040 3 *ta_cdlspinningtop = \&PDL::ta_cdlspinningtop;
5041  
5042  
5043  
5044  
5045  
5046  
5047 =head2 ta_cdlstalledpattern
5048  
5049 =for sig
5050  
5051 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5052 Types: (double)
5053  
5054 =for usage
5055  
5056 $outInteger = ta_cdlstalledpattern($open, $high, $low, $close);
5057 ta_cdlstalledpattern($open, $high, $low, $close, $outInteger); # all arguments given
5058 $outInteger = $open->ta_cdlstalledpattern($high, $low, $close); # method call
5059 $open->ta_cdlstalledpattern($high, $low, $close, $outInteger);
5060  
5061 Stalled Pattern
5062  
5063 $outInteger = ta_cdlstalledpattern($open, $high, $low, $close);
5064  
5065 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5066 # returns: $outInteger - 1D piddle
5067  
5068 =pod
5069  
5070 Broadcasts over its inputs.
5071  
5072 =for bad
5073  
5074 C<ta_cdlstalledpattern> processes bad values.
5075 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5076  
5077 =cut
5078  
5079  
5080  
5081  
5082 3 *ta_cdlstalledpattern = \&PDL::ta_cdlstalledpattern;
5083  
5084  
5085  
5086  
5087  
5088  
5089 =head2 ta_cdlsticksandwich
5090  
5091 =for sig
5092  
5093 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5094 Types: (double)
5095  
5096 =for usage
5097  
5098 $outInteger = ta_cdlsticksandwich($open, $high, $low, $close);
5099 ta_cdlsticksandwich($open, $high, $low, $close, $outInteger); # all arguments given
5100 $outInteger = $open->ta_cdlsticksandwich($high, $low, $close); # method call
5101 $open->ta_cdlsticksandwich($high, $low, $close, $outInteger);
5102  
5103 Stick Sandwich
5104  
5105 $outInteger = ta_cdlsticksandwich($open, $high, $low, $close);
5106  
5107 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5108 # returns: $outInteger - 1D piddle
5109  
5110 =pod
5111  
5112 Broadcasts over its inputs.
5113  
5114 =for bad
5115  
5116 C<ta_cdlsticksandwich> processes bad values.
5117 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5118  
5119 =cut
5120  
5121  
5122  
5123  
5124 3 *ta_cdlsticksandwich = \&PDL::ta_cdlsticksandwich;
5125  
5126  
5127  
5128  
5129  
5130  
5131 =head2 ta_cdltakuri
5132  
5133 =for sig
5134  
5135 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5136 Types: (double)
5137  
5138 =for usage
5139  
5140 $outInteger = ta_cdltakuri($open, $high, $low, $close);
5141 ta_cdltakuri($open, $high, $low, $close, $outInteger); # all arguments given
5142 $outInteger = $open->ta_cdltakuri($high, $low, $close); # method call
5143 $open->ta_cdltakuri($high, $low, $close, $outInteger);
5144  
5145 Takuri (Dragonfly Doji with very long lower shadow)
5146  
5147 $outInteger = ta_cdltakuri($open, $high, $low, $close);
5148  
5149 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5150 # returns: $outInteger - 1D piddle
5151  
5152 =pod
5153  
5154 Broadcasts over its inputs.
5155  
5156 =for bad
5157  
5158 C<ta_cdltakuri> processes bad values.
5159 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5160  
5161 =cut
5162  
5163  
5164  
5165  
5166 3 *ta_cdltakuri = \&PDL::ta_cdltakuri;
5167  
5168  
5169  
5170  
5171  
5172  
5173 =head2 ta_cdltasukigap
5174  
5175 =for sig
5176  
5177 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5178 Types: (double)
5179  
5180 =for usage
5181  
5182 $outInteger = ta_cdltasukigap($open, $high, $low, $close);
5183 ta_cdltasukigap($open, $high, $low, $close, $outInteger); # all arguments given
5184 $outInteger = $open->ta_cdltasukigap($high, $low, $close); # method call
5185 $open->ta_cdltasukigap($high, $low, $close, $outInteger);
5186  
5187 Tasuki Gap
5188  
5189 $outInteger = ta_cdltasukigap($open, $high, $low, $close);
5190  
5191 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5192 # returns: $outInteger - 1D piddle
5193  
5194 =pod
5195  
5196 Broadcasts over its inputs.
5197  
5198 =for bad
5199  
5200 C<ta_cdltasukigap> processes bad values.
5201 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5202  
5203 =cut
5204  
5205  
5206  
5207  
5208 3 *ta_cdltasukigap = \&PDL::ta_cdltasukigap;
5209  
5210  
5211  
5212  
5213  
5214  
5215 =head2 ta_cdlthrusting
5216  
5217 =for sig
5218  
5219 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5220 Types: (double)
5221  
5222 =for usage
5223  
5224 $outInteger = ta_cdlthrusting($open, $high, $low, $close);
5225 ta_cdlthrusting($open, $high, $low, $close, $outInteger); # all arguments given
5226 $outInteger = $open->ta_cdlthrusting($high, $low, $close); # method call
5227 $open->ta_cdlthrusting($high, $low, $close, $outInteger);
5228  
5229 Thrusting Pattern
5230  
5231 $outInteger = ta_cdlthrusting($open, $high, $low, $close);
5232  
5233 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5234 # returns: $outInteger - 1D piddle
5235  
5236 =pod
5237  
5238 Broadcasts over its inputs.
5239  
5240 =for bad
5241  
5242 C<ta_cdlthrusting> processes bad values.
5243 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5244  
5245 =cut
5246  
5247  
5248  
5249  
5250 3 *ta_cdlthrusting = \&PDL::ta_cdlthrusting;
5251  
5252  
5253  
5254  
5255  
5256  
5257 =head2 ta_cdltristar
5258  
5259 =for sig
5260  
5261 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5262 Types: (double)
5263  
5264 =for usage
5265  
5266 $outInteger = ta_cdltristar($open, $high, $low, $close);
5267 ta_cdltristar($open, $high, $low, $close, $outInteger); # all arguments given
5268 $outInteger = $open->ta_cdltristar($high, $low, $close); # method call
5269 $open->ta_cdltristar($high, $low, $close, $outInteger);
5270  
5271 Tristar Pattern
5272  
5273 $outInteger = ta_cdltristar($open, $high, $low, $close);
5274  
5275 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5276 # returns: $outInteger - 1D piddle
5277  
5278 =pod
5279  
5280 Broadcasts over its inputs.
5281  
5282 =for bad
5283  
5284 C<ta_cdltristar> processes bad values.
5285 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5286  
5287 =cut
5288  
5289  
5290  
5291  
5292 3 *ta_cdltristar = \&PDL::ta_cdltristar;
5293  
5294  
5295  
5296  
5297  
5298  
5299 =head2 ta_cdlunique3river
5300  
5301 =for sig
5302  
5303 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5304 Types: (double)
5305  
5306 =for usage
5307  
5308 $outInteger = ta_cdlunique3river($open, $high, $low, $close);
5309 ta_cdlunique3river($open, $high, $low, $close, $outInteger); # all arguments given
5310 $outInteger = $open->ta_cdlunique3river($high, $low, $close); # method call
5311 $open->ta_cdlunique3river($high, $low, $close, $outInteger);
5312  
5313 Unique 3 River
5314  
5315 $outInteger = ta_cdlunique3river($open, $high, $low, $close);
5316  
5317 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5318 # returns: $outInteger - 1D piddle
5319  
5320 =pod
5321  
5322 Broadcasts over its inputs.
5323  
5324 =for bad
5325  
5326 C<ta_cdlunique3river> processes bad values.
5327 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5328  
5329 =cut
5330  
5331  
5332  
5333  
5334 3 *ta_cdlunique3river = \&PDL::ta_cdlunique3river;
5335  
5336  
5337  
5338  
5339  
5340  
5341 =head2 ta_cdlupsidegap2crows
5342  
5343 =for sig
5344  
5345 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5346 Types: (double)
5347  
5348 =for usage
5349  
5350 $outInteger = ta_cdlupsidegap2crows($open, $high, $low, $close);
5351 ta_cdlupsidegap2crows($open, $high, $low, $close, $outInteger); # all arguments given
5352 $outInteger = $open->ta_cdlupsidegap2crows($high, $low, $close); # method call
5353 $open->ta_cdlupsidegap2crows($high, $low, $close, $outInteger);
5354  
5355 Upside Gap Two Crows
5356  
5357 $outInteger = ta_cdlupsidegap2crows($open, $high, $low, $close);
5358  
5359 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5360 # returns: $outInteger - 1D piddle
5361  
5362 =pod
5363  
5364 Broadcasts over its inputs.
5365  
5366 =for bad
5367  
5368 C<ta_cdlupsidegap2crows> processes bad values.
5369 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5370  
5371 =cut
5372  
5373  
5374  
5375  
5376 3 *ta_cdlupsidegap2crows = \&PDL::ta_cdlupsidegap2crows;
5377  
5378  
5379  
5380  
5381  
5382  
5383 =head2 ta_cdlxsidegap3methods
5384  
5385 =for sig
5386  
5387 Signature: (double open(n); double high(n); double low(n); double close(n); int [o]outInteger(n))
5388 Types: (double)
5389  
5390 =for usage
5391  
5392 $outInteger = ta_cdlxsidegap3methods($open, $high, $low, $close);
5393 ta_cdlxsidegap3methods($open, $high, $low, $close, $outInteger); # all arguments given
5394 $outInteger = $open->ta_cdlxsidegap3methods($high, $low, $close); # method call
5395 $open->ta_cdlxsidegap3methods($high, $low, $close, $outInteger);
5396  
5397 Upside/Downside Gap Three Methods
5398  
5399 $outInteger = ta_cdlxsidegap3methods($open, $high, $low, $close);
5400  
5401 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5402 # returns: $outInteger - 1D piddle
5403  
5404 =pod
5405  
5406 Broadcasts over its inputs.
5407  
5408 =for bad
5409  
5410 C<ta_cdlxsidegap3methods> processes bad values.
5411 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5412  
5413 =cut
5414  
5415  
5416  
5417  
5418 3 *ta_cdlxsidegap3methods = \&PDL::ta_cdlxsidegap3methods;
5419  
5420  
5421  
5422  
5423  
5424  
5425 =head2 ta_beta
5426  
5427 =for sig
5428  
5429 Signature: (double inpdl0(n); double inpdl1(n); int InTimePeriod(); double [o]outpdl(n))
5430 Types: (double)
5431  
5432 =for usage
5433  
5434 $outpdl = ta_beta($inpdl0, $inpdl1, $InTimePeriod);
5435 ta_beta($inpdl0, $inpdl1, $InTimePeriod, $outpdl); # all arguments given
5436 $outpdl = $inpdl0->ta_beta($inpdl1, $InTimePeriod); # method call
5437 $inpdl0->ta_beta($inpdl1, $InTimePeriod, $outpdl);
5438  
5439 Beta
5440  
5441 $outpdl = ta_beta($inpdl0, $inpdl1, $InTimePeriod);
5442  
5443 # $inpdl0 - 1D piddle
5444 # $inpdl1 - 1D piddle
5445 # $InTimePeriod [Number of period] - integer
5446 # default: 5
5447 # valid range: min=1 max=100000
5448 # returns: $outpdl - 1D piddle
5449  
5450 =pod
5451  
5452 Broadcasts over its inputs.
5453  
5454 =for bad
5455  
5456 C<ta_beta> processes bad values.
5457 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5458  
5459 =cut
5460  
5461  
5462  
5463  
5464 3 *ta_beta = \&PDL::ta_beta;
5465  
5466  
5467  
5468  
5469  
5470  
5471 =head2 ta_correl
5472  
5473 =for sig
5474  
5475 Signature: (double inpdl0(n); double inpdl1(n); int InTimePeriod(); double [o]outpdl(n))
5476 Types: (double)
5477  
5478 =for usage
5479  
5480 $outpdl = ta_correl($inpdl0, $inpdl1, $InTimePeriod);
5481 ta_correl($inpdl0, $inpdl1, $InTimePeriod, $outpdl); # all arguments given
5482 $outpdl = $inpdl0->ta_correl($inpdl1, $InTimePeriod); # method call
5483 $inpdl0->ta_correl($inpdl1, $InTimePeriod, $outpdl);
5484  
5485 Pearson's Correlation Coefficient (r)
5486  
5487 $outpdl = ta_correl($inpdl0, $inpdl1, $InTimePeriod);
5488  
5489 # $inpdl0 - 1D piddle
5490 # $inpdl1 - 1D piddle
5491 # $InTimePeriod [Number of period] - integer
5492 # default: 30
5493 # valid range: min=1 max=100000
5494 # returns: $outpdl - 1D piddle
5495  
5496 =pod
5497  
5498 Broadcasts over its inputs.
5499  
5500 =for bad
5501  
5502 C<ta_correl> processes bad values.
5503 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5504  
5505 =cut
5506  
5507  
5508  
5509  
5510 3 *ta_correl = \&PDL::ta_correl;
5511  
5512  
5513  
5514  
5515  
5516  
5517 =head2 ta_linearreg
5518  
5519 =for sig
5520  
5521 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
5522 Types: (double)
5523  
5524 =for usage
5525  
5526 $outpdl = ta_linearreg($inpdl, $InTimePeriod);
5527 ta_linearreg($inpdl, $InTimePeriod, $outpdl); # all arguments given
5528 $outpdl = $inpdl->ta_linearreg($InTimePeriod); # method call
5529 $inpdl->ta_linearreg($InTimePeriod, $outpdl);
5530  
5531 Linear Regression
5532  
5533 $outpdl = ta_linearreg($inpdl, $InTimePeriod);
5534  
5535 # $inpdl - 1D piddle with input data
5536 # $InTimePeriod [Number of period] - integer
5537 # default: 14
5538 # valid range: min=2 max=100000
5539 # returns: $outpdl - 1D piddle
5540  
5541 =pod
5542  
5543 Broadcasts over its inputs.
5544  
5545 =for bad
5546  
5547 C<ta_linearreg> processes bad values.
5548 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5549  
5550 =cut
5551  
5552  
5553  
5554  
5555 3 *ta_linearreg = \&PDL::ta_linearreg;
5556  
5557  
5558  
5559  
5560  
5561  
5562 =head2 ta_linearreg_angle
5563  
5564 =for sig
5565  
5566 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
5567 Types: (double)
5568  
5569 =for usage
5570  
5571 $outpdl = ta_linearreg_angle($inpdl, $InTimePeriod);
5572 ta_linearreg_angle($inpdl, $InTimePeriod, $outpdl); # all arguments given
5573 $outpdl = $inpdl->ta_linearreg_angle($InTimePeriod); # method call
5574 $inpdl->ta_linearreg_angle($InTimePeriod, $outpdl);
5575  
5576 Linear Regression Angle
5577  
5578 $outpdl = ta_linearreg_angle($inpdl, $InTimePeriod);
5579  
5580 # $inpdl - 1D piddle with input data
5581 # $InTimePeriod [Number of period] - integer
5582 # default: 14
5583 # valid range: min=2 max=100000
5584 # returns: $outpdl - 1D piddle
5585  
5586 =pod
5587  
5588 Broadcasts over its inputs.
5589  
5590 =for bad
5591  
5592 C<ta_linearreg_angle> processes bad values.
5593 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5594  
5595 =cut
5596  
5597  
5598  
5599  
5600 3 *ta_linearreg_angle = \&PDL::ta_linearreg_angle;
5601  
5602  
5603  
5604  
5605  
5606  
5607 =head2 ta_linearreg_intercept
5608  
5609 =for sig
5610  
5611 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
5612 Types: (double)
5613  
5614 =for usage
5615  
5616 $outpdl = ta_linearreg_intercept($inpdl, $InTimePeriod);
5617 ta_linearreg_intercept($inpdl, $InTimePeriod, $outpdl); # all arguments given
5618 $outpdl = $inpdl->ta_linearreg_intercept($InTimePeriod); # method call
5619 $inpdl->ta_linearreg_intercept($InTimePeriod, $outpdl);
5620  
5621 Linear Regression Intercept
5622  
5623 $outpdl = ta_linearreg_intercept($inpdl, $InTimePeriod);
5624  
5625 # $inpdl - 1D piddle with input data
5626 # $InTimePeriod [Number of period] - integer
5627 # default: 14
5628 # valid range: min=2 max=100000
5629 # returns: $outpdl - 1D piddle
5630  
5631 =pod
5632  
5633 Broadcasts over its inputs.
5634  
5635 =for bad
5636  
5637 C<ta_linearreg_intercept> processes bad values.
5638 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5639  
5640 =cut
5641  
5642  
5643  
5644  
5645 3 *ta_linearreg_intercept = \&PDL::ta_linearreg_intercept;
5646  
5647  
5648  
5649  
5650  
5651  
5652 =head2 ta_linearreg_slope
5653  
5654 =for sig
5655  
5656 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
5657 Types: (double)
5658  
5659 =for usage
5660  
5661 $outpdl = ta_linearreg_slope($inpdl, $InTimePeriod);
5662 ta_linearreg_slope($inpdl, $InTimePeriod, $outpdl); # all arguments given
5663 $outpdl = $inpdl->ta_linearreg_slope($InTimePeriod); # method call
5664 $inpdl->ta_linearreg_slope($InTimePeriod, $outpdl);
5665  
5666 Linear Regression Slope
5667  
5668 $outpdl = ta_linearreg_slope($inpdl, $InTimePeriod);
5669  
5670 # $inpdl - 1D piddle with input data
5671 # $InTimePeriod [Number of period] - integer
5672 # default: 14
5673 # valid range: min=2 max=100000
5674 # returns: $outpdl - 1D piddle
5675  
5676 =pod
5677  
5678 Broadcasts over its inputs.
5679  
5680 =for bad
5681  
5682 C<ta_linearreg_slope> processes bad values.
5683 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5684  
5685 =cut
5686  
5687  
5688  
5689  
5690 3 *ta_linearreg_slope = \&PDL::ta_linearreg_slope;
5691  
5692  
5693  
5694  
5695  
5696  
5697 =head2 ta_stddev
5698  
5699 =for sig
5700  
5701 Signature: (double inpdl(n); int InTimePeriod(); double InNbDev(); double [o]outpdl(n))
5702 Types: (double)
5703  
5704 =for usage
5705  
5706 $outpdl = ta_stddev($inpdl, $InTimePeriod, $InNbDev);
5707 ta_stddev($inpdl, $InTimePeriod, $InNbDev, $outpdl); # all arguments given
5708 $outpdl = $inpdl->ta_stddev($InTimePeriod, $InNbDev); # method call
5709 $inpdl->ta_stddev($InTimePeriod, $InNbDev, $outpdl);
5710  
5711 Standard Deviation
5712  
5713 $outpdl = ta_stddev($inpdl, $InTimePeriod, $InNbDev);
5714  
5715 # $inpdl - 1D piddle with input data
5716 # $InTimePeriod [Number of period] - integer
5717 # default: 5
5718 # valid range: min=2 max=100000
5719 # $InNbDev [Nb of deviations] - real number
5720 # default: 1
5721 # valid range: min=-3e+037 max=3e+037
5722 # returns: $outpdl - 1D piddle
5723  
5724 =pod
5725  
5726 Broadcasts over its inputs.
5727  
5728 =for bad
5729  
5730 C<ta_stddev> processes bad values.
5731 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5732  
5733 =cut
5734  
5735  
5736  
5737  
5738 3 *ta_stddev = \&PDL::ta_stddev;
5739  
5740  
5741  
5742  
5743  
5744  
5745 =head2 ta_tsf
5746  
5747 =for sig
5748  
5749 Signature: (double inpdl(n); int InTimePeriod(); double [o]outpdl(n))
5750 Types: (double)
5751  
5752 =for usage
5753  
5754 $outpdl = ta_tsf($inpdl, $InTimePeriod);
5755 ta_tsf($inpdl, $InTimePeriod, $outpdl); # all arguments given
5756 $outpdl = $inpdl->ta_tsf($InTimePeriod); # method call
5757 $inpdl->ta_tsf($InTimePeriod, $outpdl);
5758  
5759 Time Series Forecast
5760  
5761 $outpdl = ta_tsf($inpdl, $InTimePeriod);
5762  
5763 # $inpdl - 1D piddle with input data
5764 # $InTimePeriod [Number of period] - integer
5765 # default: 14
5766 # valid range: min=2 max=100000
5767 # returns: $outpdl - 1D piddle
5768  
5769 =pod
5770  
5771 Broadcasts over its inputs.
5772  
5773 =for bad
5774  
5775 C<ta_tsf> processes bad values.
5776 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5777  
5778 =cut
5779  
5780  
5781  
5782  
5783 3 *ta_tsf = \&PDL::ta_tsf;
5784  
5785  
5786  
5787  
5788  
5789  
5790 =head2 ta_var
5791  
5792 =for sig
5793  
5794 Signature: (double inpdl(n); int InTimePeriod(); double InNbDev(); double [o]outpdl(n))
5795 Types: (double)
5796  
5797 =for usage
5798  
5799 $outpdl = ta_var($inpdl, $InTimePeriod, $InNbDev);
5800 ta_var($inpdl, $InTimePeriod, $InNbDev, $outpdl); # all arguments given
5801 $outpdl = $inpdl->ta_var($InTimePeriod, $InNbDev); # method call
5802 $inpdl->ta_var($InTimePeriod, $InNbDev, $outpdl);
5803  
5804 Variance
5805  
5806 $outpdl = ta_var($inpdl, $InTimePeriod, $InNbDev);
5807  
5808 # $inpdl - 1D piddle with input data
5809 # $InTimePeriod [Number of period] - integer
5810 # default: 5
5811 # valid range: min=1 max=100000
5812 # $InNbDev [Nb of deviations] - real number
5813 # default: 1
5814 # valid range: min=-3e+037 max=3e+037
5815 # returns: $outpdl - 1D piddle
5816  
5817 =pod
5818  
5819 Broadcasts over its inputs.
5820  
5821 =for bad
5822  
5823 C<ta_var> processes bad values.
5824 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5825  
5826 =cut
5827  
5828  
5829  
5830  
5831 3 *ta_var = \&PDL::ta_var;
5832  
5833  
5834  
5835  
5836  
5837  
5838 =head2 ta_avgprice
5839  
5840 =for sig
5841  
5842 Signature: (double open(n); double high(n); double low(n); double close(n); double [o]outpdl(n))
5843 Types: (double)
5844  
5845 =for usage
5846  
5847 $outpdl = ta_avgprice($open, $high, $low, $close);
5848 ta_avgprice($open, $high, $low, $close, $outpdl); # all arguments given
5849 $outpdl = $open->ta_avgprice($high, $low, $close); # method call
5850 $open->ta_avgprice($high, $low, $close, $outpdl);
5851  
5852 Average Price
5853  
5854 $outpdl = ta_avgprice($open, $high, $low, $close);
5855  
5856 # $open, $high, $low, $close - 1D piddles, all have to be the same size
5857 # returns: $outpdl - 1D piddle
5858  
5859 =pod
5860  
5861 Broadcasts over its inputs.
5862  
5863 =for bad
5864  
5865 C<ta_avgprice> processes bad values.
5866 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5867  
5868 =cut
5869  
5870  
5871  
5872  
5873 3 *ta_avgprice = \&PDL::ta_avgprice;
5874  
5875  
5876  
5877  
5878  
5879  
5880 =head2 ta_medprice
5881  
5882 =for sig
5883  
5884 Signature: (double high(n); double low(n); double [o]outpdl(n))
5885 Types: (double)
5886  
5887 =for usage
5888  
5889 $outpdl = ta_medprice($high, $low);
5890 ta_medprice($high, $low, $outpdl); # all arguments given
5891 $outpdl = $high->ta_medprice($low); # method call
5892 $high->ta_medprice($low, $outpdl);
5893  
5894 Median Price
5895  
5896 $outpdl = ta_medprice($high, $low);
5897  
5898 # $high, $low - 1D piddles, both have to be the same size
5899 # returns: $outpdl - 1D piddle
5900  
5901 =pod
5902  
5903 Broadcasts over its inputs.
5904  
5905 =for bad
5906  
5907 C<ta_medprice> processes bad values.
5908 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5909  
5910 =cut
5911  
5912  
5913  
5914  
5915 3 *ta_medprice = \&PDL::ta_medprice;
5916  
5917  
5918  
5919  
5920  
5921  
5922 =head2 ta_typprice
5923  
5924 =for sig
5925  
5926 Signature: (double high(n); double low(n); double close(n); double [o]outpdl(n))
5927 Types: (double)
5928  
5929 =for usage
5930  
5931 $outpdl = ta_typprice($high, $low, $close);
5932 ta_typprice($high, $low, $close, $outpdl); # all arguments given
5933 $outpdl = $high->ta_typprice($low, $close); # method call
5934 $high->ta_typprice($low, $close, $outpdl);
5935  
5936 Typical Price
5937  
5938 $outpdl = ta_typprice($high, $low, $close);
5939  
5940 # $high, $low, $close - 1D piddles, all have to be the same size
5941 # returns: $outpdl - 1D piddle
5942  
5943 =pod
5944  
5945 Broadcasts over its inputs.
5946  
5947 =for bad
5948  
5949 C<ta_typprice> processes bad values.
5950 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5951  
5952 =cut
5953  
5954  
5955  
5956  
5957 3 *ta_typprice = \&PDL::ta_typprice;
5958  
5959  
5960  
5961  
5962  
5963  
5964 =head2 ta_wclprice
5965  
5966 =for sig
5967  
5968 Signature: (double high(n); double low(n); double close(n); double [o]outpdl(n))
5969 Types: (double)
5970  
5971 =for usage
5972  
5973 $outpdl = ta_wclprice($high, $low, $close);
5974 ta_wclprice($high, $low, $close, $outpdl); # all arguments given
5975 $outpdl = $high->ta_wclprice($low, $close); # method call
5976 $high->ta_wclprice($low, $close, $outpdl);
5977  
5978 Weighted Close Price
5979  
5980 $outpdl = ta_wclprice($high, $low, $close);
5981  
5982 # $high, $low, $close - 1D piddles, all have to be the same size
5983 # returns: $outpdl - 1D piddle
5984  
5985 =pod
5986  
5987 Broadcasts over its inputs.
5988  
5989 =for bad
5990  
5991 C<ta_wclprice> processes bad values.
5992 It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
5993  
5994 =cut
5995  
5996  
5997  
5998  
5999 3 *ta_wclprice = \&PDL::ta_wclprice;
6000  
6001  
6002  
6003  
6004  
6005  
6006  
6007 #line 98 "TA.pd"
6008  
6009 =head1 LICENSE
6010  
6011 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
6012  
6013 =cut
6014 #line 6015 "TA.pm"
6015  
6016 # Exit with OK status
6017  
6018 3 1;
« TA.xs ↑ Summary