Economic release integration?  [SOLVED]

Questions about MultiCharts and user contributed studies.
Sebastian Vermont
Posts: 37
Joined: 06 Jan 2016
Has thanked: 6 times
Been thanked: 5 times

Economic release integration?

Postby Sebastian Vermont » 06 Jan 2016

Hello,

Is there a way to integrate economic releases (such as GDP releases, non-farm payroll, ISM, etc) into MultiCharts for backtesting?

Thanks!

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Economic release integration?

Postby TJ » 06 Jan 2016

Hello,

Is there a way to integrate economic releases (such as GDP releases, non-farm payroll, ISM, etc) into MultiCharts for backtesting?

Thanks!
Can you describe your backtest?
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.

Sebastian Vermont
Posts: 37
Joined: 06 Jan 2016
Has thanked: 6 times
Been thanked: 5 times

Re: Economic release integration?

Postby Sebastian Vermont » 06 Jan 2016

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

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;
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.

Sebastian Vermont
Posts: 37
Joined: 06 Jan 2016
Has thanked: 6 times
Been thanked: 5 times

Re: Economic release integration?

Postby Sebastian Vermont » 06 Jan 2016

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.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Economic release integration?  [SOLVED]

Postby JoshM » 07 Jan 2016

Is there a way to integrate economic releases (such as GDP releases, non-farm payroll, ISM, etc) into MultiCharts for backtesting?
Should be possible with the Economic Events I think, although estimates (which you mentioned in a later post) aren't included with that.

Sebastian Vermont
Posts: 37
Joined: 06 Jan 2016
Has thanked: 6 times
Been thanked: 5 times

Re: Economic release integration?

Postby Sebastian Vermont » 08 Jan 2016

Thanks Josh, this should be exactly what I need.


Return to “MultiCharts”