Jump to content

[REQ]- Please Code the Indicator- Details Inside


Recommended Posts

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

Link to comment
Share on other sites

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 by iwjw
Bug (hopefully) fixed
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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