Modify an indicator

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Modify an indicator

Postby Ombrista » Thu Nov 26, 2020 10:34 am

Horizontal Line.lua
(6.41 KiB) Downloaded 146 times


Hi Apprentice,

First of all i want to thank you for your help last time.
Then i need for my project to modify an indicator like this :
- always can choose the hour to drawn the line but each new day, automatically the line is placed at the hour of the current day
- No historic, so no other line that the current day
- Can be use to in a strategy. The strategy could to detect when the price cross the line. I dont know if its actually the case.

Do you think its possible ?
Thank you in advance.
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Modify an indicator

Postby Apprentice » Fri Nov 27, 2020 7:17 am

Your request is added to the development list.
Development reference 2368.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Modify an indicator

Postby Apprentice » Sun Nov 29, 2020 3:47 am

Horizontal Line Strategy.lua
(21.31 KiB) Downloaded 147 times

Horizontal Line.lua
(5.94 KiB) Downloaded 140 times

Something like this?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Modify an indicator

Postby Ombrista » Sun Nov 29, 2020 12:54 pm

Thanks i will try it
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Modify an indicator

Postby Ombrista » Mon Nov 30, 2020 8:31 am

Hi Apprentice,

I tried your update, but the line doesn't go to the new day automatically. Can you modify this ?

Thanks a lot.
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Modify an indicator

Postby Apprentice » Mon Nov 30, 2020 10:15 am

Your request is added to the development list.
Development reference 2378.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Modify an indicator

Postby Apprentice » Tue Dec 01, 2020 5:14 am

Have use selected the new Method "Hour"?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Modify an indicator

Postby Ombrista » Tue Dec 01, 2020 5:30 am

Yes i use the new parameter.
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Modify an indicator

Postby Apprentice » Thu Dec 03, 2020 2:40 pm

Horizontal Line.lua
(5.94 KiB) Downloaded 146 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Modify an indicator

Postby Ombrista » Thu Dec 03, 2020 4:22 pm

Hi Apprentice,

I'm sorry but in the last version, the indicator doesn't work correctly.
As you can see in the picture.
The red line is the old version in the good place
The purple line is the last version and i don't understand why is he at this location.
You can see the good parameters on the top corner left

As a reminder, i just want that the line go at the hour choosen at the new day automatically, if it's possible.

Can you help me plz ?
Attachments
Horizontal Line.jpg
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 12 guests