Create and Test Forex Strategies
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
eas-guide:portfolio-expert [2019/04/06 14:39] – ?nolink in image tags vini | eas-guide:portfolio-expert [2021/01/13 07:18] – Ilan Vardy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Portfolio Expert ====== | ====== Portfolio Expert ====== | ||
- | Normally when using Expert Advisors in MetaTrader you would export strategies as Expert Advisors and attach each Expert to a chart window. When trading multiple strategies opening and managing all the charts quickly becomes a hassle. | + | Normally when using Expert Advisors in MetaTrader, you would export strategies as Expert Advisors and attach each Expert to a chart window. When trading multiple strategies opening and managing all the charts quickly becomes a hassle. |
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | To save you the hassle of operating multiple experts and charts EA Sudio introduces Portfolio Experts. Portfolio Experts hold multiple strategies within them and trade those strategies on a single MetaTrader chart. | + | To save you the hassle of operating multiple experts and charts, EA Sudio introduces Portfolio Experts. Portfolio Experts hold multiple strategies within them and trade those strategies on a single MetaTrader chart. |
</ | </ | ||
+ | {{|youtube> | ||
===== Base Magic Number ==== | ===== Base Magic Number ==== | ||
- | Since the Portfolio Expert trades multiple strategies at once it needs to know which position belongs to which strategy. This is done by assigning a different **Magic Number** to each strategy in the portfolio. You can set the base (first 3 digits) of the Magic Number when you attach the Portfolio Expert to the chart. The full magic number for each strategy will be something like 100001 where 100 is the base magic number and 001 is the strategy number. | + | Because |
- | MetaTrader shows a dialog | + | MetaTrader shows a dialogue |
{{: | {{: | ||
Line 20: | Line 21: | ||
Then when the Portfolio Expert opens positions you can see the strategy magic number in the **Comment** column of the position. | Then when the Portfolio Expert opens positions you can see the strategy magic number in the **Comment** column of the position. | ||
- | {{: | + | {{: |
You can see how each Magic number is set in the comment and each Magic number starts with 100 because that is the value we set when we were attaching the Portfolio Expert to the chart in the first picture. | You can see how each Magic number is set in the comment and each Magic number starts with 100 because that is the value we set when we were attaching the Portfolio Expert to the chart in the first picture. |