Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1407

 
MakarFX:

This is an example based on screenshot values

Sorry to compare"FiboBars2" and"FiboBars_3", there is only "FiboBars_3". And once you change the FiboBars parameters, there are no more trades.

 
darirunu1:

Sorry to compare"FiboBars2" and"FiboBars_3", there is only "FiboBars_3". And once you change the parameters of FiboBars, there are no more deals.

Once again "FiboBars_3" is a comparison "FiboBars2" with different parameters!

If you put the same parameters, then...


 
MakarFX:

Once again "FiboBars_3" is a comparison "FiboBars2" with different parameters!

If you put the same parameters, then...


If we set FiboBars_3 on zero bar and FiboBars2 on the first bar, we get a different picture.

Next, we wait for the formation of a candle FiboBars_3, ie close and if it does not coincide with the colour with FiboBars2 already closed, the transaction on the colour FiboBars_3.

 
darirunu1:

If we do FiboBars_3 on zero bar, and FiboBars2 on the first, then we get a different picture.

Next, we wait for the formation of a candle FiboBars_3, ie close and if it does not coincide with the colour with FiboBars2 already closed, the transaction on the colour FiboBars_3.

I do not quite know what you mean, but you can do

for 0 bar

iCustom(_Symbol,Period(),"FiboBars_3",12,24,48,2,0,0)

and for 1 bar

iCustom(_Symbol,Period(),"FiboBars_3",12,24,48,2,0,1)
 
MakarFX:

I'm not quite sure what you mean, but it is possible to make

for 0 bar.

and for 1 bar.

This is a comparison of the same indicatorFiboBars_3,where is the comparison with FiboBars2

 
darirunu1:

This is a comparison of the same indicatorFiboBars_3,where is the comparison with FiboBars2

Unfortunately I can't make you think

Once again "FiboBars_3" is a comparison "FiboBars2" with different parameters!

For 0 bar, you enter the same parameters.

iCustom(_Symbol,Period(),"FiboBars_3",12,24,48,2,0,0)

and for 1 bar, you enter other parameters.

iCustom(_Symbol,Period(),"FiboBars_3",12,24,48,2,0,1)
 
MakarFX:

Unfortunately I can't make you think.


My mind is boiling. Gotta back off a bit...

 
MakarFX:

Unfortunately I can't make you think

Once again "FiboBars_3" is a comparison "FiboBars2" with different parameters!

For 0 bar, you enter the same parameters.

and for 1 bar, you put in different parameters.

Look at the two indicators in the code FiboBars2" i+1, and in the code FiboBars_3 just i, but the parameters are the same.

The i is zero bar in the code.

Files:
GBPUSDH1.png  48 kb
 
darirunu1:

Look at these two indicators in the code FiboBars2" i+1,and in the code FiboBars_3 just i, but the parameters are the same.

i is zero bar in the code.

and this is one indicator FiboBars_3 with 0 and 1 bar


 
MakarFX:

and this is one FiboBars_3 indicator with 0 and 1 bar.


I don't need FiboBars_3 in duplicate, I just need FiboBars2.

Reason: