Makes sense. Nevertheless, I have put this indic and script into EA, with 4 buttons (Trade, Pending/Instant toggle, Show/Hide lines, TakeProfit line show/hide)There is already a script to trade using this indicator. I do not want to code an EA based on it, because EAs have one big restriction: there can be only one on one chart.
F7 will do, I have found latter it will pop-up Inputs window.No idea how to do that without DLLs.
Ignore please. This refers to my version.I don't get it. Could you please show a screenshot?
Yea, makes sense. Didn't thought about 'Initialization()' function.Yes if you set DeleteLines to true.
I had to completely re-code to make button work, but that involved changing Indic into EA.No idea how to do that without DLLs.
Well, as I see it, this custom function only re-formats the number into American standard. Never mind, I still love it.How would it work? Cutting the extra decimal places? That's not a good idea when dealing with the trade levels...
Thank you for sharing, I didn't mean to bother you that much, I have not expected your answer.
I can share EA version, if Enivid agrees to post it here (it is renamed). Otherwise, anybody interested can contact me.
Viva'l Enivid,
Best regards,
Simon
S love nia
If you put '#property show_inputs' at the top of the script's code, I think this will do what you want - pop-up 'Inputs' window of script, when it is launched. I do not even use 'Slippage', I believe it is for scalping?* A Script configuration window. Where the 'About', 'Common', 'Input' and other tabs are found. A place for input parameters to be set, like the amount of tolerated slippage (without going into the code). And without this UI, double left-clicking on the script from the navigator window actually enters a new trade if a PSC is attached to the chart you're currently looking at. I find this could trigger unwanted trades to be entered by accident.
Little less coffee should do, if you are too fast on mouse button or hotkeys. Just kidding, LOL.* A throttle mechanism. A safeguard to protect people from accidentally entering multiple instances of the same trade. This could potentially happen in a lot of ways, mainly by the user accidentally double tapping their hot key and similar things of this nature. Maybe an optional input parameter to set the number of seconds that have to pass between new trade entries?.
Best regards,
Simon
S love nia