Hello,
Is there a way to integrate economic releases (such as GDP releases, non-farm payroll, ISM, etc) into MultiCharts for backtesting?
Thanks!
Economic release integration? [SOLVED]
-
- Posts: 37
- Joined: 06 Jan 2016
- Has thanked: 6 times
- Been thanked: 5 times
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Economic release integration?
Can you describe your backtest?Hello,
Is there a way to integrate economic releases (such as GDP releases, non-farm payroll, ISM, etc) into MultiCharts for backtesting?
Thanks!
How or what do you want to integrate? and what effect would you like to see?
Anything is possible,
some tests require more work (and time) than others.
-
- Posts: 37
- Joined: 06 Jan 2016
- Has thanked: 6 times
- Been thanked: 5 times
Re: Economic release integration?
TJ,
I would like to use economic release data as additional trade conditions. I don't have any specific trades worked out yet, but as an example lets say I wanted to short a particular currency if: 1) the ISM Non-Manufacturing Composite was lower than expectations during the last 4 hours and 2) price made a local high on the last 2 bars, and the most recent bar closed lower than the previous bar
Thanks for any direction that you can provide. I've used MultiCharts for some systems that use price and time but I have no experience with any other type of conditions.
I would like to use economic release data as additional trade conditions. I don't have any specific trades worked out yet, but as an example lets say I wanted to short a particular currency if: 1) the ISM Non-Manufacturing Composite was lower than expectations during the last 4 hours and 2) price made a local high on the last 2 bars, and the most recent bar closed lower than the previous bar
Code: Select all
inputs:
inputLocalHighThreshold (15);
variables:
conditionIsmMissedExpectations (False),
conditionTimeSinceIsmRelease (False),
conditionHighestBarThreshold (False),
conditionPreviousBarHighestBarThreshold (False);
conditionIsmMissedExpectations= [how to get actual ISM release] < [ISM consensus estimate];
conditionTimeSinceIsmRelease= [how to get time since ISM release] > 400;
conditionHighestBarThreshold= (Highest(high,inputLocalHighThreshold)[1] < High;
conditionPreviousBarHighestBarThreshold= (Highest(high,(inputLocalHighThreshold-1))[2] < High[1];
if (MarketPosition(0) = 0) and conditionIsmMissedExpectations and conditionTimeSinceIsmRelease and conditionHighestBarThreshold and conditionPreviousBarHighestBarThreshold then begin
SellShort ("EntryName Entry") next bar at market;
end;
-
- Posts: 37
- Joined: 06 Jan 2016
- Has thanked: 6 times
- Been thanked: 5 times
Re: Economic release integration?
Also, I should clarify that I'm not sure what specific data source I would be using, that's part of the question. I am still pretty new to MultiCharts and do not know if there is any sort of 3rd party that provides MultiCharts-friendly economic data, etc.
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Economic release integration? [SOLVED]
Should be possible with the Economic Events I think, although estimates (which you mentioned in a later post) aren't included with that.Is there a way to integrate economic releases (such as GDP releases, non-farm payroll, ISM, etc) into MultiCharts for backtesting?
-
- Posts: 37
- Joined: 06 Jan 2016
- Has thanked: 6 times
- Been thanked: 5 times