conglo Posted June 22, 2011 Report Share Posted June 22, 2011 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. Quote Link to comment Share on other sites More sharing options...
⭐ musketeer Posted June 22, 2011 Report Share Posted June 22, 2011 http://www.forexfactory.com/misc.php?do=showattachments&t=33898 am not sure what exactly it does Quote Link to comment Share on other sites More sharing options...
conglo Posted June 22, 2011 Author Report Share Posted June 22, 2011 Thanks for the reply, but it needs to add to the previous value, this is getting closer though. http://www.forexfactory.com/misc.php?do=showattachments&t=33898 am not sure what exactly it does Quote Link to comment Share on other sites More sharing options...
conglo Posted June 22, 2011 Author Report Share Posted June 22, 2011 ----bump---- Quote Link to comment Share on other sites More sharing options...
conglo Posted June 23, 2011 Author Report Share Posted June 23, 2011 ---bump--- Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 23, 2011 Report Share Posted June 23, 2011 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? Quote Link to comment Share on other sites More sharing options...
conglo Posted June 23, 2011 Author Report Share Posted June 23, 2011 (edited) 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 June 23, 2011 by conglo Quote Link to comment Share on other sites More sharing options...
conglo Posted June 23, 2011 Author Report Share Posted June 23, 2011 D**M bumping... Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 23, 2011 Report Share Posted June 23, 2011 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 conglo 1 Quote Link to comment Share on other sites More sharing options...
conglo Posted June 23, 2011 Author Report Share Posted June 23, 2011 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 Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 23, 2011 Report Share Posted June 23, 2011 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. Quote Link to comment Share on other sites More sharing options...
conglo Posted June 23, 2011 Author Report Share Posted June 23, 2011 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. Quote Link to comment Share on other sites More sharing options...
conglo Posted June 25, 2011 Author Report Share Posted June 25, 2011 (edited) 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 June 25, 2011 by conglo soundfx 1 Quote Link to comment Share on other sites More sharing options...
Guest desitrader Posted June 30, 2011 Report Share Posted June 30, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.