Page 1 of 2

DMI indicator with close data type

PostPosted: Wed Feb 08, 2017 9:40 am
by william17
Hello,

I need help please,
I'm looking for DMI indicator in the marketscope 2.0, but i want it with close data type, not with bar...

I did'nt found in fxcodebase, only the "tick dmi", but it's not the same like DMI indicator...

Someone could help me please,?

Thank you

Re: DMI indicator with close data type

PostPosted: Thu Feb 16, 2017 7:22 am
by Apprentice
By definition, DMI is based on TrueRange.
TrueRange requires full bar (High, Low, Close, Open) for calculating.
Tick DMI uses a modified formula, that will allow DMI calculation based on Tick data.
viewtopic.php?f=17&t=16809&p=105810&hilit=tick+dmi#p105810

Re: DMI indicator with close data type

PostPosted: Thu Feb 16, 2017 1:38 pm
by william17
Thank you for your reply,

I would like to know if it's possible to use the dmi indicator in the "fx strategy wizard" with the cross of DI+ and DI- but at THE END of the candles...

With the tick dmi, the problem is here, the cross don't wait the end of the candle...,

In fact, i would like to use a robot with the cross between DI+ and DI- with data close, that is to say at the end of the candle...

Thank you for uoy help

Re: DMI indicator with close data type

PostPosted: Wed Feb 22, 2017 4:34 am
by Apprentice
U can use Tick DMI, instead of the current period, index one period before.

Re: DMI indicator with close data type

PostPosted: Wed Feb 22, 2017 5:05 am
by william17
Yes i understand,
i have tried this option, but offortunetly, there is not of respect between the cross (of tick di+ and di-) and the graphic....

Do you know if we could build any indicator with some wizard soft?

Re: DMI indicator with close data type

PostPosted: Wed Feb 22, 2017 4:32 pm
by william17
Ok apprentice,

I have found...

Your reply is right, but it not complete.
We have to index one period before AND use the symbol > or <, example:
crossover DI+ and DI- with one period before, AND DI+ > DI- at current period, with that, there is no problem...

I have a last question for you.
Do you know if it's possible to programm in the "fx strategy wizard"the following idea:
limit = ATR PIPS INDICATOR( the value in pips), and if it's possible, wich function i have to use please?

Thank you very much

Re: DMI indicator with close data type

PostPosted: Tue Feb 28, 2017 4:45 am
by Apprentice
I do not use fx strategy in my work.

Re: DMI indicator with close data type

PostPosted: Wed Mar 01, 2017 12:00 pm
by william17
Ok

And do you know what is the most popular of expert advisor for lua?

Re: DMI indicator with close data type

PostPosted: Fri Mar 03, 2017 5:54 am
by Apprentice
Capture.PNG

Re: DMI indicator with close data type

PostPosted: Tue Mar 07, 2017 6:55 am
by william17
Ok thank you,

But what soft you use to build an expert advisor?