Karthiks Options Trading Strategy

mastermind007

Well-Known Member
6300 PE set up bar completed
At 2 PM Candle in 15 min chart, CCI was 7.54; Setup was completed on 3:15 candle for 6300 PE.

Setup was completed and triggered in 6350 PE Candle at 3:00 PM but that too hit stop loss.

This seems to bring out more triggers in Calls then in Puts. Is this correct observation?
 
Last edited:

poortrader

Well-Known Member
At 2 PM Candle in 15 min chart, CCI was 7.54; Setup was completed on 3:15 candle for 6300 PE.

Setup was completed and triggered in 6350 PE Candle at 3:00 PM but that too hit stop loss.

This seems to bring out more triggers in Calls then in Puts. Is this correct observation?
To double check I deleted all PE6300 (Dec) data and backfilled, still getting 2pm bar CCI as 111, but entry never triggered
Plz check your data again

screen shot windows 7
 

mastermind007

Well-Known Member
To double check I deleted all PE6300 (Dec) data and backfilled, still getting 2pm bar CCI as 111, but entry never triggered
Plz check your data again

screen shot windows 7
poortrader

I also checked my data carefully and when I could not find anything off, I also downloaded fresh copy for past 5 days.

Assuming that we do want to compare, how are we gonna compare? PM me your email id and I will send you the CSV file of the data that I have.

I receive tick data and got 10422 ticks compressed into 375 minute candles, so there are no gaps in my data @ minute level.

O, H, L, C, V on the candle you've selected on your screenshot on my system is 136, 148, 136, 143.95, 3872250

Only our open price does not match on the selected candle and in my system, 136.7 is shown as last price at 13:44:59 after which there was a 10 second gap and first tick in new candle was @ 136. This is tick 7728 and tick 7729

Code:
->7728 = [
Date: 20131205
String Time: 13:44:59
Open: 136.7
High: 136.7
Low: 136.7
Close: 136.7
Average: 128.57
Traded Value: 27340
Volume: 200
]
->7729 = [
Date: 20131205
String Time: 13:45:10
Open: 136
High: 136
Low: 136
Close: 136
Average: 128.57
Traded Value: 40800
Volume: 300
]
All said and done, Certain differences in data like this are going to exist due to host of reasons, but overall shapes of our charts and colors of candle is similar.

CCI on candle that closed at 2:00PM was -5.82. CCI that closed on 2:15 was 7.54. CCI on first candle of day was -477.91. this is quite understandable because price has gap-down'ed big time
 
Last edited:

mastermind007

Well-Known Member
Problem is with the CCI formula

I get -5.82 at 2PM candle of NIFTY_PE6300 if I use following
Code:
cciClose = CCI( CCIPeriods );
I get 111.3 if I use following
Code:
A  = (H + L + C) / 3;
HomeMadeCCI = CCIa(A, 14);
Idea of CCIa came from Amibroker's help which says following

Comments:
Tomasz Janeczko
tj --at-- amibroker.com
2003-09-03 04:24:35 CCI uses internally 'Avg' built-in price array.
'Avg' is also known as typical price:
Avg = ( H + L + C ) /3

So
CCI( period ) is equivalent to CCia( Avg, period ).

Therefore if you want to calculate CCI from Foreign ticker you should overwrite Avg array,
instead of OHLC:

Avg = ( Foreign("!VIX", "H") + Foreign("!VIX", "L") + Foreign("!VIX", "C") ) / 3;
cc = CCI(period);

Alternativelly use CCIa that takes array directly:

cc = CCIa( Foreign("!VIX", "H") + Foreign("!VIX", "L") + Foreign("!VIX", "C") ) / 3, period);