Page 3 of 8

Re: Trading_commands

PostPosted: Wed Jul 26, 2017 7:29 pm
by 7000306337
Hello Again:
Thanks a million for your precious time and mentor.

A totally different question:
From within a LUA INDICATOR, ... is it possible to periodically login into a web page to scrap two columns of a table there?

Much Gratitude,

Re: Trading_commands

PostPosted: Thu Jul 27, 2017 8:59 am
by Apprentice
Not that I know.

Re: Trading_commands

PostPosted: Thu Jul 27, 2017 12:56 pm
by Paul W
non-FIFO

from this link - http://download.fxcorporate.com/FXCM/FXTS2Install.EXE

removed all other indicators on chart, and was able to duplicate error ?

Re: Trading_commands

PostPosted: Sun Aug 06, 2017 4:10 am
by Apprentice
Do you use Demo or Real?
Which version of TS you use.

Re: Trading_commands

PostPosted: Mon Aug 07, 2017 10:36 am
by Paul W
have only used "Close all trades" on Live account - works fine

tested (only) on Demo other options
- Hedge
- Reverse
- Close half (am interested in this feature)

am a little reluctant to test (any) indicator on live account - especially if it has latency consequences

when scalping

Re: Trading_commands

PostPosted: Wed Sep 13, 2017 5:56 pm
by Mountaintrader
Hi Apprentice,

Is it possible to add a "close all trades at a predetermined $$ or pip value" to trading commands ?

Thanks

Mountain Bear

Re: Trading_commands

PostPosted: Fri Sep 15, 2017 3:09 pm
by Apprentice
Your request is added to the development list, Under Id Number 3896
If someone is interested to do this task, please contact me.

Re: Trading_commands

PostPosted: Thu Sep 21, 2017 4:06 am
by Apprentice
$/Pip close added.

Re: Trading_commands

PostPosted: Mon Oct 16, 2017 10:09 am
by 7000306337
This worked fine

if BuySell == "B" then
valuemap.PegPriceOffsetPipsStop = -instance.parameters.Stop;
else
valuemap.PegPriceOffsetPipsStop = instance.parameters.Stop;
end

Re: Trading_commands

PostPosted: Fri Oct 20, 2017 10:02 am
by Alexander.Gettinger
Cactus wrote:Can you add a "set limit for all position on this symbol" button?
Which would update the limit profit level based on where you right click, on all positions opened of the symbol of the chart


Please, try this version of the indicator:
Trading_commands2.lua
(15.25 KiB) Downloaded 835 times