Jump to content

[REQ] Percent Change Indicator


Recommended Posts

I've been searching with no success for a Percent Change indicator, maybe someone can point me to one.. I've tried to code it but I'm stuck.

 

The formula:

 

( [ (Close - Previous Close) / Previous Close ] * 100) + Previous value of indicator

 

This would look like a like a line chart of price closings but instead price is expressed as a percentage of change.

 

 

Any help appreciated.

Link to comment
Share on other sites

Thanks much for your effort but that's not what I'm looking for.

 

The results need to be cumulative, please see my first post.

The value of the indicator on the current bar needs to be added to the previous value of the indicator.

As I said above, the resultant line graph should resemble a line chart of the closes.

 

 

Then we add an external variable for the symbol.

Now we can overlay different currencies and watch for volatility spread opportunities.

We are normalizing different currency prices by translating absolute price moves to percentages.

 

It's another way of looking for correlation discrepancies / opportunities.

 

 

My real intention is to create my own synthetic index of currencies, then watch for extreme moves by an individual currency against the index, then trade the "index" against the renegade by doing a volatility spread. It's a very spread-dependent (the bid/ask) strategy.

 

We're talking about 2 different "spreads" here but it can't be helped, hope I've not confused anyone.

 

Kind of like basket trading stocks against the SP500.

 

 

 

 

Hi conglo,

 

I've just coded this basic indi, I hope it's the sort of thing you're looking for:

 

http://www.multiupload.com/03LGDNVNCM

 

Not sure how we could use it. Perhaps, large percent changes will suggest on-going momentum?

Edited by conglo
Link to comment
Share on other sites

Hi conglo,

 

It's an interesting theory, though seems similar to those currency strength/correlation indicators which are already in existence such as CCFp here:

 

http://articles.mql4.com/484

 

I've tweaked the indi I first created slightly and it now resembles the line chart to some degree, I hope this one is on the right track:

 

http://www.multiupload.com/K33BU13INZ

Link to comment
Share on other sites

Thanks much again, but indi still does not work for me, all I get is a straight line..

 

Thanks for the cluster info, I hadn't seen it before, I'll try those indis.

 

 

Hi conglo,

 

It's an interesting theory, though seems similar to those currency strength/correlation indicators which are already in existence such as CCFp here:

 

http://articles.mql4.com/484

 

I've tweaked the indi I first created slightly and it now resembles the line chart to some degree, I hope this one is on the right track:

 

http://www.multiupload.com/K33BU13INZ

Link to comment
Share on other sites

Thanks for working on it and I really like the other indis.

 

Sorry conglo - I'll have to work on my indi. coding skills :)

 

It worked fine for me though when I restarted mt4 I saw a single line the same as you...this is a bit trickier than I first thought.

Link to comment
Share on other sites

Just another thanks due here..

 

These are very useful indicators, I've had lots of success so far with them.

 

At least as good or maybe better than Yeoman's FX4Caster, especially on higher timeframes.

 

Thanks again.

 

 

 

 

Hi conglo,

 

It's an interesting theory, though seems similar to those currency strength/correlation indicators which are already in existence such as CCFp here:

 

http://articles.mql4.com/484

 

I've tweaked the indi I first created slightly and it now resembles the line chart to some degree, I hope this one is on the right track:

 

http://www.multiupload.com/K33BU13INZ

Edited by conglo
Link to comment
Share on other sites

Guest desitrader

conglo, I think I know what you're talking about. Try looking at AUD and NZD's correlation in that context. I went into buyin frenzy of NZD after the quakes and sold AUD, and they paid handsomely, but that was more of a macro view call.

 

You can do spread on that concept, however the problem would be correlation breakdowns. How do you plan to handle that?

 

Again apologies if I got it all wrong...

 

Just a thought - have you ever looked into the concept of finding market maker's breakeven levels through CME data? I am working on something, could be explosive if it is what i think it is. Otherwise, another leadbaloon.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...