He's not blocked me (yet) but my tablets and chromebooks don't have AFL language.
He's not blocked me (yet) but my tablets and chromebooks don't have AFL language.
Couple of screenshots would do to get the gist of it.
From my very limited knowledge of AmiBroker Formula Language (AFL) and Spanish, I think the logic from the comment for the original code at the end is
Code:if in long trade if close(intermarketAsset) > SimpleMovingAverage(intermarketAsset, 4) and close(tradingAsset) > SimpleMovingAverage(tradingAsset, 4) exit long at next bar open if in short trade if close(intermarketAsset) < SimpleMovingAverage(intermarketAsset, 4) and close(tradingAsset) < SimpleMovingAverage(tradingAsset, 4) exit short at next bar open if close(intermarketAsset) < SimpleMovingAverage(intermarketAsset, 4) and close(tradingAsset) < SimpleMovingAverage(tradingAsset, 4) enter long tradingAsset at next bar open if close(intermarketAsset) > SimpleMovingAverage(intermarketAsset, 4) and close(tradingAsset) > SimpleMovingAverage(tradingAsset, 4) enter short tradingAsset at next bar open
Good Morning daanipd,Hello everyone! Markets interact and influence each other and cross-market analysis can be used to forecast future stock and indices price movements by introducing custom indicators and cross-market trading systems.
I present to you one of the most robust intermarket systems that have been developed last year, that of copper.
You already know that intermarket relations have predictive power, knowing how to use them. These systems are really counter-trend and capture the big market turns.
It is necessary to have certain knowledge of statistics, to be able to develop this type of trading systems. But because its premise is very powerful, you will never waste time developing intermarket systems.
I am going to share today a simple but powerful tool, so you can use amibroker and start building intermarket systems. Whoever is interested, send me an email....
Greetings to all!
Wont block you.He's not blocked me (yet) but my tablets and chromebooks don't have AFL language.
Couple of screenshots would do to get the gist of it.
no, it isnt.That looks like the simplest trading strategy anyone can come with
Good Morning daanipd,no, it isnt.
Good Morning daanipd,
Please post the backtest performance metrics and the backtest equity curve.
Thank you