Overlaying indicators - page 5

 

Hi admin

why do you moved my thread, join to past thread.

I already read this past thread.

There are no answer and the problem is different.

So i make a new thread.

 

Hi admin

why do you moved my thread, join to the past thread.

I already read this past thread.

There are no answer and the problem is different.

So i make a new thread.

 

usually I am moving the posts to some old threads where those questions were asked or any similar. becauise sometimes the people are subscribing by email to the thread.

As to your question so if the scale of RSI and scale of CCI is differemnt on the charrt same window so your crossing will be repaited hardly all the time. In EA - it is possible to programe those crossing but every crossing should be connected with some particular bar on the main chart. usually - the poeogrammers know how to do it.

-------------

If your new thread will be interesting for everybody and will be popular so - why not?

if it will be interesting for you personally only - I will delete your threads and your posts.

 

How to program this crossing?

For example (i am not a coder sorry - i just have the logic to code).

We know that

- every crossing is connected with some particular bar;

- bar enumeration is startesd from 0 (open bar), 1 (previous close bar), 2 and so on.

- we are using close bars only.

So, we can estimate some values ... for example:

>70 will be sell

<30 will be buy

this 70 or 30 may be adjustable on the settings.

and the words "sell" and "

buy" may be changed based on what we are using.

So,

sell if

- RSI value for the bar #2 is below 70

and

- RSI value for the bar #1 is above or equal 70

- CCI value for the bar #2 is below 70

- CCI valie for the bar #1 is above or equal 70.

Opposite for buy.

Words "buy" and "sell" can be changed to each other depends on which condision/system you are going to use.

To make it shorter: any 2 indicators' crossing should be connected with some particular bar.

 
newdigital:
How to program this crossing?

For example (i am not a coder sorry - i just have the logic to code).

We know that

- every crossing is connected with some particular bar;

- bar enumeration is startesd from 0 (open bar), 1 (previous close bar), 2 and so on.

- we are using close bars only.

So, we can estimate some values ... for example:

>70 will be sell

<30 will be buy

this 70 or 30 may be adjustable on the settings.

and the words "sell" and "

buy" may be changed based on what we are using.

So,

sell if

- RSI value for the bar #2 is below 70

and

- RSI value for the bar #1 is above or equal 70

- CCI value for the bar #2 is below 70

- CCI valie for the bar #1 is above or equal 70.

Opposite for buy.

Words "buy" and "sell" can be changed to each other depends on which condision/system you are going to use.

To make it shorter: any 2 indicators' crossing should be connected with some particular bar.

Ok thanks for your explaination

 
newdigital:
How to program this crossing?

For example (i am not a coder sorry - i just have the logic to code).

We know that

- every crossing is connected with some particular bar;

- bar enumeration is startesd from 0 (open bar), 1 (previous close bar), 2 and so on.

- we are using close bars only.

So, we can estimate some values ... for example:

>70 will be sell

<30 will be buy

this 70 or 30 may be adjustable on the settings.

and the words "sell" and "

buy" may be changed based on what we are using.

So,

sell if

- RSI value for the bar #2 is below 70

and

- RSI value for the bar #1 is above or equal 70

- CCI value for the bar #2 is below 70

- CCI valie for the bar #1 is above or equal 70.

Opposite for buy.

Words "buy" and "sell" can be changed to each other depends on which condision/system you are going to use.

To make it shorter: any 2 indicators' crossing should be connected with some particular bar.

One question,

I still try figure out about scaling.

Forget the cross.

For example

bar(2)= rsi = 90

cci= 73

bar(1)= rsi =85

cci=80

Without seeing visual, where is upper or lower cci or rsi ?

I mean, the key in ea is transform/ convert cci value into rsi value.

so the logic in ea know where is upper or lower and when the cross.

Is it possible transform cci value into rsi value ?

So please give me an answer based in the sample above .

Many Thanks before

 

Why transfer?

let's say - there is some value, or number: 1, or 10, or any.

And there is rsi, and there is cci with some settings.

So, if we are talking about the crossing - it means: 2 indicators should have same value for 1 same closed (previous) bar (bar #1), right? I do not know how to program it in mql4 but it is possible.

It is your setup for H4 with your settings for rsi and cci:

Files:
overly1.jpg  197 kb
 

thanks sir/madam for your help

 

I am Sir (still ... I hope)

 

Does anyone know how to placee a histogram on the main chart or MACD on main chart, but behind the candles.