DMI indicator with close data type

Moderator: admin

DMI indicator with close data type

Postby william17 » Wed Feb 08, 2017 9:40 am

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
Attachments
DMI.lua
DMI indicator available in marketscope 2.0
(8.51 KiB) Downloaded 1246 times
william17
 
Posts: 52
Joined: Wed Feb 08, 2017 9:24 am

Re: DMI indicator with close data type

Postby Apprentice » Thu Feb 16, 2017 7:22 am

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
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DMI indicator with close data type

Postby william17 » Thu Feb 16, 2017 1:38 pm

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
william17
 
Posts: 52
Joined: Wed Feb 08, 2017 9:24 am

Re: DMI indicator with close data type

Postby Apprentice » Wed Feb 22, 2017 4:34 am

U can use Tick DMI, instead of the current period, index one period before.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DMI indicator with close data type

Postby william17 » Wed Feb 22, 2017 5:05 am

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?
william17
 
Posts: 52
Joined: Wed Feb 08, 2017 9:24 am

Re: DMI indicator with close data type

Postby william17 » Wed Feb 22, 2017 4:32 pm

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
william17
 
Posts: 52
Joined: Wed Feb 08, 2017 9:24 am

Re: DMI indicator with close data type

Postby Apprentice » Tue Feb 28, 2017 4:45 am

I do not use fx strategy in my work.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DMI indicator with close data type

Postby william17 » Wed Mar 01, 2017 12:00 pm

Ok

And do you know what is the most popular of expert advisor for lua?
william17
 
Posts: 52
Joined: Wed Feb 08, 2017 9:24 am


Re: DMI indicator with close data type

Postby william17 » Tue Mar 07, 2017 6:55 am

Ok thank you,

But what soft you use to build an expert advisor?
william17
 
Posts: 52
Joined: Wed Feb 08, 2017 9:24 am

Next

Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 5 guests