Posts Tagged ‘expert advisor’

Rage against the machines… by building your own machine!

This is intended to be an introduction to the world of robotic Forex trading.  By the end of this you should be able to construct a working automated Forex trading robot.  These automated trading bots are called Expert Advisors, EA’s for short.  I am going to assume that you don’t have much FX trading experience and walk you through the whole process of setting up your first EA.

Step 1.  Download and install MetaTrader4.  This is the platform our EA’s will run in.  Once MT4 is dowloaded go ahead and start it up.  Just click cancel on any dialogs that show up.  We are not going to hook it up to an account yet, we are just going to set it up so that you can play around and backtest your EA’s.  Once MT4 is up and running you should see something like the following screen.

(click for life size version)

Click Tools then History center (or hit F2).  Now we should be looking at this.

Expand Forex then EURUSD then click on M1 (the one minute candles).  Hit download.  This will download some of the historical data.  At this stage we need to download some additional data which will fill in the holes.  Here is a file which contains data for all of 2010, EURUSD1.  Now we need to import this data into our program.

To import this data click on the M1 data for the EURUSD just like in the previous step.  Hit import.  You should see the following screen.

If you dont see the candles in the import box then just close the history center and open it again.

At this point we are ready to build and backtest our first EA.

Step 2.  Building our first EA.…
continue reading


Tags: , , ,




 
 
 

Phil's Favorites

Why governments are so bad at implementing public projects

 

Why governments are so bad at implementing public projects

Around the world, government officials fail often at implementing policy and public sector projects. Here’s why. (Shutterstock)

Courtesy of Andrew Graham, Queen's University, Ontario

As Canada’s federal government starts looking for a replacement for its failed payroll system and the Ontario provincial government launches yet another major shake-up of its health-care system, it’s ...



more from Ilene

Zero Hedge

IMF Discreetly Preps Massive Aid Package For "Day After" Maduro's Fall

Courtesy of ZeroHedge. View original post here.

The International Monetary Fund is reportedly making plans for the "day after" embattled President Nicolas Maduro's fall, according to Bloomberg. Though there's been little momentum in military defections following US-backed opposition leader Juan Guaido's offer of amnesty to any army officer that switches loyalties, Washington sanctions have effectively strangled state-owned PDVSA's access to global markets. News of IMF maneuvering also comes amidst fresh reports the US is amassing aircraft, troops and armored vehicles on the Venezuelan border under the pretext ...



more from Tyler

Kimble Charting Solutions

Gasoline bullish breakout could fuel higher prices, says Joe Friday

Courtesy of Chris Kimble.

Are we about to pay much higher prices at the gas pump? Possible!

This chart looks at Gasoline futures over the past 4-years. Gasoline has become much cheaper at the pump, as it fell nearly 50% from the May 2018 highs. The decline took it down to test 2016 & 2017 lows at (1). While testing these lows, Gasoline could be forming a bullish inverse head & shoulders pattern over the past few months.

Joe Friday Just The Facts- If Gasoline breaks out at (2), we could all see higher prices at the gas pump. If a breakout does...



more from Kimble C.S.

Insider Scoop

10 Stocks To Watch For February 15, 2019

Courtesy of Benzinga.

Some of the stocks that may grab investor focus today are:

  • Wall Street expects PepsiCo, Inc. (NASDAQ: PEP) to report quarterly earnings at $1.49 per share on revenue of $19.52 billion before the opening bell. PepsiCo shares rose 0.2 percent to $112.82 in after-hours trading.
  • NVIDIA Corporation (NASDAQ: NVDA) reported upbe...


http://www.insidercow.com/ more from Insider

ValueWalk

Global Quality Edge Fund: Tail-Risk Hedging Strategy

By Jacob Wolinsky. Originally published at ValueWalk.

Global Quality Edge Fund presentation titled, “Tail-Risk Hedging Strategy.” How to leverage the end of the business cycle without exposing our fund to permanent capital loss?

Alexas_Fotos / Pixabay

Objective:

  • Understand the current convergence between business cycle and the long term debt cycle.
  • Empathize the benefits of Tail Hedging as a means to shield from capital loss. We began implementing this strategy in Q4-2018 to protect the fund from significant market downturns, similar in sca...


more from ValueWalk

Biotech

Cancer: new DNA sequencing technique analyses tumours cell by cell to fight disease

Reminder: We are available to chat with Members, comments are found below each post.

 

Cancer: new DNA sequencing technique analyses tumours cell by cell to fight disease

Illustration of acute lymphoblastic leukaemia, showing lymphoblasts in blood. Kateryna Kon/Shutterstock

Courtesy of Alba Rodriguez-Meira, University of Oxford and Adam Mead, University of Oxford

...

more from Biotech

Chart School

Weekly Market Recap Feb 10, 2019

Courtesy of Blain.

A good week for the bulls once again as a very overbought market essentially went sideways to help work off some of those near term extreme conditions.  The S&P 500 stalled exactly at the 200 day moving average after a frantic rally the past month and a half.  It was generally a quiet week with lowered volatility as the word “patience” continues to have the investor class in a happy daze.

In economic news, ISM Services fell from 58.0 in December to 56.7 last month, below economists’ expectations of a 57.4 reading. A reading above 50 indicates an expansion in activity.

For the week the S&P 500 gained 0.1% and the NASDAQ 0.5%.  That is 7 up weeks in a row.

Here is the 5 day weekly “intraday” chart of the S&P 500 … ...



more from Chart School

Digital Currencies

People don't trust blockchain systems - is regulation a way to help?

 

People don't trust blockchain systems – is regulation a way to help?

Using blockchain technology can feel like falling and hoping someone will catch you. Nicoleta Raftu/Shutterstock.com

Courtesy of Kevin Werbach, University of Pennsylvania

Blockchain technology isn’t as widely used as it could be, largely because blockchain users don’t trust each other, as research shows. Business lea...



more from Bitcoin

Members' Corner

Why Trump Can't Learn

 

Bill Eddy (lawyer, therapist, author) predicted Trump's chaotic presidency based on his high-conflict personality, which was evident years ago. This post, written in 2017, references a prescient article Bill wrote before Trump even became president, 5 Reasons Trump Can’t Learn. ~ Ilene 

Why Trump Can’t Learn

Donald Trump by Gage Skidmore (...



more from Our Members

Mapping The Market

Trump: "I Won't Be Here" When It Blows Up

By Jean-Luc

Maybe we should simply try him for treason right now:

Trump on Coming Debt Crisis: ‘I Won’t Be Here’ When It Blows Up

The president thinks the balancing of the nation’s books is going to, ultimately, be a future president’s problem.

By Asawin Suebsaeng and Lachlan Markay, Daily Beast

The friction came to a head in early 2017 when senior officials offered Trump charts and graphics laying out the numbers and showing a “hockey stick” spike in the nationa...



more from M.T.M.

OpTrader

Swing trading portfolio - week of September 11th, 2017

Reminder: OpTrader is available to chat with Members, comments are found below each post.

 

This post is for all our live virtual trade ideas and daily comments. Please click on "comments" below to follow our live discussion. All of our current  trades are listed in the spreadsheet below, with entry price (1/2 in and All in), and exit prices (1/3 out, 2/3 out, and All out).

We also indicate our stop, which is most of the time the "5 day moving average". All trades, unless indicated, are front-month ATM options. 

Please feel free to participate in the discussion and ask any questions you might have about this virtual portfolio, by clicking on the "comments" link right below.

To learn more about the swing trading virtual portfolio (strategy, performance, FAQ, etc.), please click here ...



more from OpTrader

Promotions

Free eBook - "My Top Strategies for 2017"

 

 

Here's a free ebook for you to check out! 

Phil has a chapter in a newly-released eBook that we think you’ll enjoy.

In My Top Strategies for 2017, Phil's chapter is Secret Santa’s Inflation Hedges for 2017.

This chapter isn’t about risk or leverage. Phil present a few smart, practical ideas you can use as a hedge against inflation as well as hedging strategies designed to assist you in staying ahead of the markets.

Some other great content in this free eBook includes:

 

·       How 2017 Will Affect Oil, the US Dollar and the European Union

...

more from Promotions





About Phil:

Philip R. Davis is a founder Phil's Stock World, a stock and options trading site that teaches the art of options trading to newcomers and devises advanced strategies for expert traders...

Learn more About Phil >>


As Seen On:




About Ilene:

Ilene is editor and affiliate program coordinator for PSW. She manages the site market shadows, archives, more. Contact Ilene to learn about our affiliate and content sharing programs.

Market Shadows >>