Horizontal Line Strategy

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

Horizontal Line Strategy

Postby Ombrista » Tue Jun 22, 2021 9:36 pm

Hi all,

I tested this strategy but it does not work correctly.
I have attached a screen print so that you can see the malfunctions.
As you can see, the strategy is not reacting as it should.
Despite the many passages around the reference price, it did not open the right orders.
I have also attached a printout of the strategy configuration.
Can someone fix this i am willing to pay to make this strategy work.

Thanks a lot.
Attachments
Horizontal Line Strategy.lua
Strategy
(21.31 KiB) Downloaded 113 times
Simulation strategy line.png
Screen Simulation
Horizontal Line.lua
Indicator
(4.25 KiB) Downloaded 113 times
Simulation strategy line configuration.png
Screen configuration
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Horizontal Line Strategy

Postby Apprentice » Fri Jun 25, 2021 5:14 am

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

Re: Horizontal Line Strategy

Postby Ombrista » Mon Jul 05, 2021 5:57 pm

Hi,

If this is too difficult to develop, maybe changing the strategy to just enter manually the benchmark price would be easier. In that case it would suit me just as well.
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Horizontal Line Strategy

Postby Apprentice » Thu Jul 08, 2021 11:09 am

image.png

Turn off the position limit
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Horizontal Line Strategy

Postby Ombrista » Thu Jul 08, 2021 2:27 pm

Hi Apprentice,

Like i said just before if you can modify the strategy so i can directly enter the benchmark price it will be fine for me. And i think its more easier to develop. Thank you in advance.
Attachments
Simulation strategy line 2.png
I do what you said but nothing different.
Simulation strategy line configuration 2.png
Ombrista
 
Posts: 17
Joined: Tue Sep 22, 2020 2:34 pm

Re: Horizontal Line Strategy

Postby Apprentice » Fri Jul 09, 2021 7:46 am

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

Re: Horizontal Line Strategy

Postby Apprentice » Fri Aug 20, 2021 1:21 pm

Horizontal_Line_Strategy.lua
(21.72 KiB) Downloaded 98 times

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


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Majestic-12 [Bot] and 17 guests