|
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | +patterns = { |
| 5 | +'CDLHARAMI':'Harami Pattern', |
| 6 | +'CDLHARAMICROSS':'Harami Cross Pattern', |
| 7 | +'CDL2CROWS':'Two Crows', |
| 8 | +'CDL3BLACKCROWS':'Three Black Crows', |
| 9 | +'CDL3INSIDE':'Three Inside Up/Down', |
| 10 | +'CDL3LINESTRIKE':'Three-Line Strike', |
| 11 | +'CDL3OUTSIDE':'Three Outside Up/Down', |
| 12 | +'CDL3STARSINSOUTH':'Three Stars In The South', |
| 13 | +'CDL3WHITESOLDIERS':'Three Advancing White Soldiers', |
| 14 | +'CDLABANDONEDBABY':'Abandoned Baby', |
| 15 | +'CDLADVANCEBLOCK':'Advance Block', |
| 16 | +'CDLBELTHOLD':'Belt-hold', |
| 17 | +'CDLBREAKAWAY':'Breakaway', |
| 18 | +'CDLCLOSINGMARUBOZU':'Closing Marubozu', |
| 19 | +'CDLCONCEALBABYSWALL':'Concealing Baby Swallow', |
| 20 | +'CDLCOUNTERATTACK':'Counterattack', |
| 21 | +'CDLDARKCLOUDCOVER':'Dark Cloud Cover', |
| 22 | +'CDLDOJI':'Doji', |
| 23 | +'CDLDOJISTAR':'Doji Star', |
| 24 | +'CDLDRAGONFLYDOJI':'Dragonfly Doji', |
| 25 | +'CDLENGULFING':'Engulfing Pattern', |
| 26 | +'CDLEVENINGDOJISTAR':'Evening Doji Star', |
| 27 | +'CDLEVENINGSTAR':'Evening Star', |
| 28 | +'CDLGAPSIDESIDEWHITE':'Up/Down-gap side-by-side white lines', |
| 29 | +'CDLGRAVESTONEDOJI':'Gravestone Doji', |
| 30 | +'CDLHAMMER':'Hammer', |
| 31 | +'CDLHANGINGMAN':'Hanging Man', |
| 32 | +'CDLHIGHWAVE':'High-Wave Candle', |
| 33 | +'CDLHIKKAKE':'Hikkake Pattern', |
| 34 | +'CDLHIKKAKEMOD':'Modified Hikkake Pattern', |
| 35 | +'CDLHOMINGPIGEON':'Homing Pigeon', |
| 36 | +'CDLIDENTICAL3CROWS':'Identical Three Crows', |
| 37 | +'CDLINNECK':'In-Neck Pattern', |
| 38 | +'CDLINVERTEDHAMMER':'Inverted Hammer', |
| 39 | +'CDLKICKING':'Kicking', |
| 40 | +'CDLKICKINGBYLENGTH':'Kicking - bull/bear determined by the longer marubozu', |
| 41 | +'CDLLADDERBOTTOM':'Ladder Bottom', |
| 42 | +'CDLLONGLEGGEDDOJI':'Long Legged Doji', |
| 43 | +'CDLLONGLINE':'Long Line Candle', |
| 44 | +'CDLMARUBOZU':'Marubozu', |
| 45 | +'CDLMATCHINGLOW':'Matching Low', |
| 46 | +'CDLMATHOLD':'Mat Hold', |
| 47 | +'CDLMORNINGDOJISTAR':'Morning Doji Star', |
| 48 | +'CDLMORNINGSTAR':'Morning Star', |
| 49 | +'CDLONNECK':'On-Neck Pattern', |
| 50 | +'CDLPIERCING':'Piercing Pattern', |
| 51 | +'CDLRICKSHAWMAN':'Rickshaw Man', |
| 52 | +'CDLRISEFALL3METHODS':'Rising/Falling Three Methods', |
| 53 | +'CDLSEPARATINGLINES':'Separating Lines', |
| 54 | +'CDLSHOOTINGSTAR':'Shooting Star', |
| 55 | +'CDLSHORTLINE':'Short Line Candle', |
| 56 | +'CDLSPINNINGTOP':'Spinning Top', |
| 57 | +'CDLSTALLEDPATTERN':'Stalled Pattern', |
| 58 | +'CDLSTICKSANDWICH':'Stick Sandwich', |
| 59 | +'CDLTAKURI':'Takuri (Dragonfly Doji with very long lower shadow)', |
| 60 | +'CDLTASUKIGAP':'Tasuki Gap', |
| 61 | +'CDLTHRUSTING':'Thrusting Pattern', |
| 62 | +'CDLTRISTAR':'Tristar Pattern', |
| 63 | +'CDLUNIQUE3RIVER':'Unique 3 River', |
| 64 | +'CDLUPSIDEGAP2CROWS':'Upside Gap Two Crows', |
| 65 | +'CDLXSIDEGAP3METHODS':'Upside/Downside Gap Three Methods' |
| 66 | +} |
| 67 | + |
| 68 | +Company_Name ={ |
| 69 | +"NIFTY 50" :"^NSEI", |
| 70 | +"NIFTY BANK" : "^NSEBANK", |
| 71 | +"INDIA VIX" : "^INDIAVIX", |
| 72 | +"ADANI ENTERPRISES ":"ADANIENT.NS", |
| 73 | +"ADANI PORTS AND SPECIAL ECONOMIC ZONE ":"ADANIPORTS.NS", |
| 74 | +"APOLLO HOSPITALS ENTERPRISE ":"APOLLOHOSP.NS", |
| 75 | +"ASIAN PAINTS ":"ASIANPAINT.NS", |
| 76 | +"Axis Bank ":"AXISBANK.NS", |
| 77 | +"MARUTI SUZUKI INDIA ":"MARUTI.NS", |
| 78 | +"BAJAJ FINANCE ":"BAJFINANCE.NS", |
| 79 | +"Bajaj Finserv ":"BAJAJFINSV.NS", |
| 80 | +"BHARAT PETROLEUM CORPORATION ":"BPCL.NS", |
| 81 | +"Bharti Airtel ":"BHARTIARTL.NS", # change |
| 82 | +"BRITANNIA INDUSTRIES LTD" :"BRITANNIA.NS", |
| 83 | +"CIPLA ":"CIPLA.NS", |
| 84 | +"COAL INDIA LTD " :"COALINDIA.NS", |
| 85 | +"DIVI'S LABORATORIES ":"DIVISLAB.NS", |
| 86 | +"DR.REDDY'S LABORATORIES LTD ":"DRREDDY.NS", |
| 87 | +"EICHER MOTORS ":"EICHERMOT.NS", |
| 88 | +"GRASIM INDUSTRIES LTD ":"GRASIM.NS", |
| 89 | +"HCL TECHNOLOGIES ":"HCLTECH.NS", |
| 90 | +"HDFC BANK ":"HDFCBANK.NS", |
| 91 | +"HDFC LIFE INSURANCE COMPANY ":"HDFCLIFE.NS", |
| 92 | +"Hero MotoCorp ":"HEROMOTOCO.NS", |
| 93 | +"HINDALCO INDUSTRIES ":"HINDALCO.NS", |
| 94 | +"HINDUSTAN UNILEVER ":"HINDUNILVR.NS", |
| 95 | +"HOUSING DEVELOPMENT FINANCE CORPORATION ":"HDFC.NS", |
| 96 | +"ICICI BANK ":"ICICIBANK.NS", |
| 97 | +"ITC ":"ITC.NS", |
| 98 | +"INDUSIND BANK LTD. ":"INDUSINDBK.NS", |
| 99 | +"INFOSYS ":"INFY.NS", |
| 100 | +"JSW Steel ":"JSWSTEEL.NS", |
| 101 | +"KOTAK MAHINDRA BANK ":"KOTAKBANK.NS", |
| 102 | +"LARSEN AND TOUBRO ":"LT.NS", |
| 103 | +"MAHINDRA AND MAHINDRA ":"M&M.NS", |
| 104 | +"MARUTI SUZUKI INDIA ":"MARUTI.NS", |
| 105 | +"NTPC ":"NTPC.NS", |
| 106 | +"NESTLE INDIA ":"NESTLEIND.NS", |
| 107 | +"OIL AND NATURAL GAS CORPORATION ":"ONGC.NS", |
| 108 | +"POWER GRID CORPORATION OF INDIA ":"POWERGRID.NS", |
| 109 | +"RELIANCE INDUSTRIES ":"RELIANCE.NS", #cahnged |
| 110 | +"SBI LIFE INSURANCE COMPANY ":"SBILIFE.NS", |
| 111 | +"SBI":"SBIN.NS", |
| 112 | +"SUN PHARMACEUTICAL INDUSTRIES ":"SUNPHARMA.NS", |
| 113 | +"TATA CONSULTANCY SERVICES ":"TCS.NS", |
| 114 | +"TATA CONSUMER PRODUCTS ":"TATACONSUM.NS", |
| 115 | +"TATA MOTORS ":"TATAMTRDVR.NS", |
| 116 | +"TATA STEEL ":"TATASTEEL.NS", |
| 117 | +"TECH MAHINDRA ":"TECHM.NS", |
| 118 | +"TITAN COMPANY ":"TITAN.NS", |
| 119 | +"UPL ":"UPL.NS", |
| 120 | +"ULTRATECH CEMENT ":"ULTRACEMCO.NS", |
| 121 | +"WIPRO ":"WIPRO.NS" |
| 122 | +} |
0 commit comments