Entry order indicator helper

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Entry order indicator helper

Postby Apprentice » Sun Dec 24, 2017 10:33 am

Based on the request.
viewtopic.php?f=27&t=65478&p=116619#p116619

Stop level (in pips) is defined via parameters.
Limit level (in pips) is defined via parameters.

Execute via addCommand functionality, Execute Now.
Or at set time.

Helper will add two entry orders, x pips above below the current price.
Orders above price will be long
Orders below bellow will be short

Additionally,
the user can define the termination period for entry orders in seconds.
If any entry order is still present after this time, it will be deleted.

the user can define the termination period for executed entry orders (positions) in seconds.
If any positions are still present after this time, it will be closed.

Additionally, if the position is executed, the user can define a stop level shift step.
If the position has x pips in profit, the stop/limit level will be shifted for x pips.
Reset Profit counter.
If the position has reached x pips in profit from that level,
the stop/limit level will be shifted for x pips.
Reset Profit counter
And so on.

Entry order indicator helper.lua
(10.35 KiB) Downloaded 78 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 18521
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Entry order indicator helper

Postby Apprentice » Sun Jan 07, 2018 6:02 am

Minor update.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 18521
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 18 guests