logo

Triple moving average crossover

Share on facebook
Share on twitter

Triple Moving Average Crossover Trading Strategy

155 views | 25 Aug. 2018

Triple Moving Average

Triple Moving Average Crossover Trading Strategy

Triple moving average crossover

Share on facebook
Share on twitter

Algorithmic Trading Strategy Using Three Moving Averages & Python

19 611 views | 11 Jul. 2020

#Python #Stocks

#Python #Stocks #StockTrading #AlgorithmicTrading

Algorithmic Trading Strategy Using Three Moving Averages & Python

⭐Please Subscribe !⭐

⭐Get the code and data sets by becoming a supporter on Patreon:

https://www.patreon.com/computerscience

⭐Website:

http://everythingcomputerscience.com/

⭐Support the channel on Patreon:

► https://www.patreon.com/computerscience

⭐Helpful Programming Books

► Python (Hands-Machine-Learning-Scikit-Learn-TensorFlow):

https://amzn.to/2AD1axD

► Learning Python:

https://amzn.to/3dQGrEB

►Head First Python:

https://amzn.to/3fUxDiO

► C-Programming :

https://amzn.to/2X0N6Wa

► Head First Java:

https://amzn.to/2LxMlhT

prplute5556m

for me is error in Upload widget is only available when the cell has been executed in the current browser session. Please rerun this cell to enable.

CL Kung

Why don't u use Ta-lib ?

Kundan Kumar

Hi, Can u pls post backtesting video of intraday trading strategy..

Anthony Chung

The first sell marker price was about $ 315 ?? . Python Plot cant show the precise value when the arrow pointed at the curve. On the other side, Excel can show the value if the arrow was pointed at the curve .

robin vermillion

good video. however im going to do more experimenting with the buy and sell conditions. they work but im betting it can be improved to get better buy and sell signals

robin vermillion

Backtrader would be a nice library addition

papajim

Thanks for all recent videos about various strategies!
Now i think we need the next step, namely how to calculate the winnings and losses after plotting the strategy.

Ares

This channel is gold. Thx a ton.

Amol Khaire

how to change file for another stock

R Rahl

Thank you mate!

dominic hindes

where in the world u from @ Computer Science

Joycelynn Nelson

Hi CS! How did you create the cvs file and save it to your computer?

la_ z0n

Help Please, this code not work for me:

#Add the Buy and Sell signals to the data set
df['Buy'] = buy_sell_function(df)[0]
df['Sell'] = buy_sell_function(df)[1]
---------------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-25-5f2589dcc654> in <module>()
1 #Add the Buy and Sell signals to the data set
----> 2 df['Buy'] = buy_sell_function(df)[0]
3 df['Sell'] = buy_sell_function(df)[1]
3 frames
/usr/local/lib/python3.6/dist-packages/pandas/core/internals/construction.py in sanitize_index(data, index, copy)
609
610 if len(data) != len(index):
--> 611 raise ValueError("Length of values does not match length of index")
612
613 if isinstance(data, ABCIndexClass) and not copy:
ValueError: Length of values does not match length of index

Torstein Løvbrøtte

where do you get the datasets with stockprices?

U-n_k.n spuirp

Tips : you can use "command"+"D"' to duplicate the line or for multiple line instead of copy past.
can please someone help me with this Error knowing that i import stream data using this 

*df = web.DataReader('AAPL', data_source='yahoo', start=('2020-01-01'), end=(datetime.now()))*

Traceback (most recent call last):
File "/Users/--/Desktop/Language/python/___Project4/Ema's.py", line 80, in <module>
 
df['buy']=buy_sell_function(df)[0]
File "/Users/--/Desktop/Language/python/___Project4/Ema's.py", line 63, in buy_sell_function
 
sell_list.append(['Close'][i])

IndexError: list index out of range

Влад Кочетов

Hi, I made a similar program. You can use its details for convenience in the following projects.

https://colab.research.google.com/drive/1stSBKxK0X-hWZA7qaXItBKkukEmF7kaw?usp=sharing

Leonhard Liu

it seems you are getting your signals from historical data. what is the sense of that? there is no predictive power whatsoever or am I missing something fundamental?

mohamed sumare

i need strategy like this with stop loss and take profit added to the algo

Philippe Colin

...and if granny had some I would call her grand'pa

Geronimo Albornoz

Mate, I love your videos. I am learning so much and your teaching style is awesome. Said this, Can you check the function definition?I think the logic could bee wrong (buying when the data value is under the EMAS) . Check your other video about MA https://www.youtube.com/watch?v=SEQbb8w7VTw&t=973s

Thank you for you work!

Kazim Raza Talpur

Thank you so much and well explained, can't wait to see yours upcoming tutorial videos.

Aaren San

Thank you, sadly I get this error and I don't know what it means:
ConversionError: Failed to convert value(s) to axis units: masked_array(data=[--, --, --, ..., --, --, --],
mask=[ True, True, True, ..., True, True, True],
fill_value=1e+20,
dtype=float64)

<Figure size 878.4x324 with 1 Axes>

Slawomir Gontarek

hello, You should also work on real time frames, e.g. 15 minutes, 30, 1h, 4h, and 1 Day. This will allow you to get closer to real tensions and their analysis.

Raymond

"how to make a graph"

李阳

Really nice content! This is what I’m looking for. Good for beginners! Thanks bro!

Raghav Swagger

is there any way you can get the data without importing an excel sheet?

Sushmita Bhor

thank you

Abhigyaan Rishee

very nice video, learned a lot from you

Seeking Truth

Excellent video, can you also make a video as an add on to this video to calculate the portfolio based on long and short position and also set up a n alert to notify about buyl and sell. It will be a good addition to already great content that you are uploading on this channel everyday!

Paul Mitchell

Great example of what python CAN be used for and very nice detailed lesson ... however please don't bother going this route for actual trading ... use mql4 or mql5 on the MetaTrader platform which will give you APIs for calculating MAs and various other things PLUS you'll have access to live market data and years of historical data for testing your strategy ... this is a computer science channel not a trading channel ... but great example nonetheless ?

munez hans

Thank u

Oskar Oskarowski

Im not familiar with this channel. Any proof of this strategies working or whats the point. Im sorry im new to that.

Slawomir Gontarek

Hello, Thanks for the good video. You should confirm the EMA input signal additionally, eg MACD. This can eliminate a large number of missed inputs.
On entry, set STOP LOSS to the previous minimum (buy) and previous maximum (sell). This way, you will evaluate the profitability of all entries (buy and sell).

Adam Childs

great lesson although could you though calculate the profit and loss I have tried running through it with a loop and a struggling to null values.

A L

df['Buy'] = buy_sell_function(df)[0]
df['Sell'] = buy_sell_function(df)[1]

what does the index 0 and 1 mean here?
And I tried to put 2, why does it gives me a traceback?

gooddude9211

Thank you and nicely explained

Tex Willer

Excellent Work!!.. and you need to add the details about those all lines in the chart man.. the output in the chart is not categorized.. which is price line and which all are the EMA lines.. anyhow great work

Raj : The future is what we make it !

9:40
Its Showed me an error and I don't know how to fix it here is the code :

Please help me

#Calculate the three moving averages
#Calculate the short/ fast exponential moving average
ShortEMA = df.Close.ewm(span=5, adjust = False).mean()
#Calculate the Middle/Medium exponential moving average
MiddleEMA = df.Close.ewm(span=21, adjust = False).mean()
#Calculate the long/slow exponential moving average
LongEMA = df.Close.ewm(span=63, adjust = False).mean()

Tyler Condiff

In the beginning you pull the TSLA.csv how did you get that on your computer?

Triple moving average crossover

Share on facebook
Share on twitter

Triple moving average - 100% Profitable - सबसे आसान और अच्छा ! - Nifty, nse,bse

23 173 views | 10 Jul. 2018

▶ OPEN ZERODHA ACCOUNT

▶ OPEN ZERODHA ACCOUNT AND GET FREE INTRADAY TRADING COURSE(12 HOURS) - https://zerodha.com/open-account?c=ZMPLZW

▶ WHATSPP FOR DETAILS: https://api.whatsapp.com/send?phone=919667849397

▶ FREE TECHNICAL ANALYSIS COURSE

http://tradinglab.in/beginners-course-on-technical-analysis-intraday-trading-and-stock-market-in-hindi/

▶ OPEN FREE TRADING ACCOUNT IN ANGEL BROKING

http://tinyurl.com/ya6c7lpc

▶ OPEN FREE TRADING ACCOUNT IN 5 PAISA

https://www.5paisa.com/landing/partners-elite?rcode=NTIxMzEyNjA

▶ OPEN TRADING ACCOUNT IN FYERS

http://partners.fyers.in/AP0244

▶ FREE TELEGRAM CHANNEL FOR INTRADAY TRADING

https://t.me/tradinglab In this video, I have explained Triple moving average for chart analysis and finding the Bullish or Bearish stocks. This combination uses short term, medium term and long term moving average for chart analysis.

FOR OPENING ACCOUNT IN ZERODHA LINK BELOW:

https://zerodha.com/open-account?c=RT0688

YOU CAN SUBSCRIBE TO TRADINGLAB CHANNEL FOR FREE EDUCATIONAL VIDEOS BY CLICKING THE BELOW LINK

http://www.youtube.com/channel/UC3YNx_O_pHIwajfFUN2lZkg?sub_confirmation=1

FOR FREE INTRADAY TRADING CALLS SUBSCRIBE TELEGRAM CHANNEL BELOW

Telegram: https://t.me/tradinglab

SHARE, SUPPORT, SUBSRCIBE!!!

TradingLab website: http://www.tradinglab.in

Facebook: https://www.facebook.com/tradinglabin-802542689916548/

Twitter: https://twitter.com/tradinglab83

52 week high low trading strategy - Intraday Trading(इंट्राडे ट्रेडिंग ) - Nifty, NSE, BSE - हिंदी

https://youtu.be/-gIblUR3bOQ

Best (इंट्राडे ट्रेडिंग स्टॉक) - Intraday trading stock (NSE/Nifty) in 5 min? - हिंदी में

https://youtu.be/i_-w3_Bb3JQ

Vijay Vishwanath

Sir please please tell us how do you trade breakouts I am not able to understand please bathaoo sir

Be focussed Be alert

Nice???????

Praveen Kumar Kumawat

very much effective....Thanks

View stock Market

Sir crude or mcx me bhi vedio bno pllz

Ankit ji

Tu garibo ka loss karyega kisi din..

Sohini Bhamani

boss your every video deserves like... thank you for sharing your valuable knowledge

Manish Shrivastava

Running market aisa kuch nahi hota jaisa aap bata rahe ho. Aapke anusaar chalne se nuksaan aur jaayega. Isse achcha to 10, 20 , 30 vidhya moving average + supertrend hain

FX Mantra

dear u are sooo innocent and good person very understanding teaching keepit upbro

Sandip Shah

Sir.. I watch your video regularly. I want to learn about multiple timeframe strategy and how to plot in chart. It will be very thankfully if you share video. Now a days Trand Trading Karan tool is used as price action tool. I want to know how it is ploted in chart.
Thank you.

dharmesh nakrani

Excellent...

prakash swain

Plz next video soon

bharti porwal

sir kuch gann pe bhi video banaye pls !!!!!!!!!!!!!!!!!!1

Vivek Prasad

Kuch kamate ho bhi ya sirf dusro ke video ka content copy karte , jhunjhunwala ji aapka mobil no# maang rahe the de du kya.koi problem toh nahi hai,

sourav kumar

thank u sir...SIR, price volume strategy pe or videos bnaiye...or....nifty ki trend pta krne ki koi strategy btaye

KING FAHAD

Please make more and more and more and more and more and more and more and more and more videos on moving averages I love ema's

I use 5min chart and I use 10 21 34 100 for intraday

I take entry when it's separated order wise

prakash swain

85% kam karta hai,exciellent

Ashish Asodariya

Good sir i am waiting screener video please

Chinmoy Banerjee

Excelent video guru. Please make a video on direction and how to entry exite of a consolidation breakout. Thanks in advance.

HARPREET

panic stock k koe charting screen er create kara advance label ka

Deepak Korgaonkar

Make video on banknifty option for beginners

A J

Telegram ma calls, kanjusu ki tarah dete ha aap....

Versatainment

Can i use it in forex ?

Priyadarshan Macwan

I use Time series moving average , hull moving average along with TEMA and Donchian Channel indicator

亗GOD๛LEVEL亗

live trade kr ke dikao is strategy se aap