Page 17 of 180

Re: Coding Help

Posted: Thu Apr 20, 2017 2:24 pm
by bilbao
mntiwana wrote: Thu Apr 20, 2017 6:26 am bilbao - i guess too high - higher TF
try to reduce TF and increase periods
okay
thanks so much

Re: Coding Help

Posted: Thu Apr 20, 2017 5:50 pm
by mladen
mntiwana wrote: Thu Apr 20, 2017 6:26 am bilbao - i guess too high - higher TF
try to reduce TF and increase periods
Color stochastic 1.04 is (regardless of the numbers) rather old indicator
Better to use some of the newer stochastic indicators

Re: Coding Help

Posted: Thu Apr 20, 2017 10:32 pm
by bilbao
mladen wrote: Thu Apr 20, 2017 5:50 pm Color stochastic 1.04 is (regardless of the numbers) rather old indicator
Better to use some of the newer stochastic indicators
sure
i try newer version
regard

Re: Coding Help

Posted: Fri Apr 21, 2017 1:21 am
by wojtek
Why is this so in MQ4, that for the arrows defined as objects

Code: Select all

ObjectSet(name,OBJPROP_PRICE1,High[i] + Point * gap);
ObjectSet(name,OBJPROP_PRICE1,Low[i]  - Point * gap);
the gap between High and the upper arrow is always smaller than
the gap between Low and the lower arrow? How to correct this difference?
Adding some constant distance for the former gap is not effective because of the MTF scaling.

(My first post on the forum!! :D )

Re: Coding Help

Posted: Fri Apr 21, 2017 1:35 am
by mladen
wojtek wrote: Fri Apr 21, 2017 1:21 am Why is this so in MQ4, that for the arrows defined as objects

Code: Select all

ObjectSet(name,OBJPROP_PRICE1,High[i] + Point * gap);
ObjectSet(name,OBJPROP_PRICE1,Low[i]  - Point * gap);
the gap between High and the upper arrow is always smaller than
the gap between Low and the lower arrow? How to correct this difference?
Adding some constant distance for the former gap is not effective because of the MTF scaling.

(My first post on the forum!! :D )
That is due to the way how arrow code is made in the Wingding true type font
It is not centered - the lower bound is shifted higher in the font design compared to the higher bound, and tha cause that visual inequality. If you could see the "box" in which the arrow is drawn, then it would be perfectly symetrical

Re: Coding Help

Posted: Fri Apr 21, 2017 2:00 am
by wojtek
OK, I see, thank you!
So adding some distance to the upper arrows should correct the difference.
I will test it on different TFs.

Re: Coding Help

Posted: Fri Apr 21, 2017 6:13 am
by bilbao
hello mladen

could you please make a mtf version of it

and when indicator send alert, just say cross
could also fix indicator messege for cross up and cross down

best regard

Re: Coding Help

Posted: Sat Apr 22, 2017 1:56 am
by mladen
bilbao wrote: Fri Apr 21, 2017 6:13 am hello mladen

could you please make a mtf version of it

and when indicator send alert, just say cross
could also fix indicator messege for cross up and cross down

best regard
bilbao

Did you try some multi time frame zigzags?

Re: Coding Help

Posted: Sat Apr 22, 2017 7:03 am
by bilbao
mladen wrote: Sat Apr 22, 2017 1:56 am bilbao

Did you try some multi time frame zigzags?
it have horizontal line for breakout

Re: Coding Help

Posted: Sat Apr 22, 2017 3:39 pm
by mladen
bilbao wrote: Sat Apr 22, 2017 7:03 am it have horizontal line for breakout
I am afraid that now I don't understand
Can you elaborate a bit more?