Jay007 Posted March 29, 2013 Report Share Posted March 29, 2013 Could someone please code an indicator, if of course having free time, for the following logic. The idea is to assist in reading price action in real time, I read it in YTC Need an indicator that will divide the whole candle length in one/thirds and then locate the close to be in one of the thirds so we can have close in above one third of the range of candle, the candle is bullish close in middle one third of the range of candle, the candle is neutral close in the lower on third of the range of candle, the candle is bearish Thanks in advance, Jay Fx_Hero 1 Quote Link to comment Share on other sites More sharing options...
iwjw Posted March 29, 2013 Report Share Posted March 29, 2013 Something like this? http://img833.imageshack.us/img833/3558/94947760.gif Quote Link to comment Share on other sites More sharing options...
Jay007 Posted March 29, 2013 Author Report Share Posted March 29, 2013 Yeah it is far more superior than what i imagined could u please share thanks, jay Something like this? http://img833.imageshack.us/img833/3558/94947760.gif Fx_Hero 1 Quote Link to comment Share on other sites More sharing options...
iwjw Posted March 29, 2013 Report Share Posted March 29, 2013 (edited) Here you go: www.4shared.com/file/-ZquyCBs/_Jay007.html You will notice that some of the candles have different colors body and shadow That's due to the way MT4 is handling the data A red shadow with a blue body means that the closeprice was in the lower section of the range but it was still a upcandle You can use the code of the indi as a template for other calculations to get colored candles e.g. if price closes between ma50 and ma100 it's neutral, above both ma's its bullish and below bearish So if someone has an idea how to classify the pa you can either post your indi here or post the rules and we can see what can be done Bug should be fixed Edited March 29, 2013 by iwjw Bug (hopefully) fixed Jay007 1 Quote Link to comment Share on other sites More sharing options...
Jay007 Posted March 29, 2013 Author Report Share Posted March 29, 2013 Thanks mate, I am waiting, I would like to see the code, since at first my idea was to see only the last candle and create object on the chart window about it..but i am not a coder as you see.. Here you go: www.4shared.com/file/-ZquyCBs/_Jay007.html You will notice that some of the candles have different colors body and shadow That's due to the way MT4 is handling the data A red shadow with a blue body means that the closeprice was in the lower section of the range but it was still a upcandle You can use the code of the indi as a template for other calculations to get colored candles e.g. if price closes between ma50 and ma100 it's neutral, above both ma's its bullish and below bearish So if someone has an idea how to classify the pa you can either post your indi here or post the rules and we can see what can be done Please wait with download because I just detected a bug Fx_Hero 1 Quote Link to comment Share on other sites More sharing options...
Jay007 Posted March 29, 2013 Author Report Share Posted March 29, 2013 Thanks mate, I am waiting, I would like to see the code, since at first my idea was to see only the last candle and create object on the chart window about it..but i am not a coder as you see.. Here you go: www.4shared.com/file/-ZquyCBs/_Jay007.html You will notice that some of the candles have different colors body and shadow That's due to the way MT4 is handling the data A red shadow with a blue body means that the closeprice was in the lower section of the range but it was still a upcandle You can use the code of the indi as a template for other calculations to get colored candles e.g. if price closes between ma50 and ma100 it's neutral, above both ma's its bullish and below bearish So if someone has an idea how to classify the pa you can either post your indi here or post the rules and we can see what can be done Please wait with download because I just detected a bug Fx_Hero 1 Quote Link to comment Share on other sites More sharing options...
iwjw Posted March 29, 2013 Report Share Posted March 29, 2013 fixed version is availlable now under same link The current candle repaints because it takes until the close to classify it The bug was that the candle could be a mix of blue/red and gray color Should be solved Fx_Hero and Jay007 2 Quote Link to comment Share on other sites More sharing options...
iwjw Posted March 29, 2013 Report Share Posted March 29, 2013 Made a little progress in controlling the body color I first thought that the color is depending on the underlying candle but now I can control it Here's an "advanced" version of the indi: www.4shared.com/file/tIQcL2M1/_Jay007_1.html and here is an example of a simple 2ma indi www.4shared.com/file/2WlWwoYX/_2ma.html Danny and ismael360 2 Quote Link to comment Share on other sites More sharing options...
Jay007 Posted March 29, 2013 Author Report Share Posted March 29, 2013 Thanks mate, the MA indi is also the basis of heikin ashi Made a little progress in controlling the body color I first thought that the color is depending on the underlying candle but now I can control it Here's an "advanced" version of the indi: www.4shared.com/file/tIQcL2M1/_Jay007_1.html and here is an example of a simple 2ma indi www.4shared.com/file/2WlWwoYX/_2ma.html Fx_Hero 1 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.