darkcanvas
darkcanvas
Friends 1
darkcanvas
Added topic SYMBOL_TRADE_TICK_VALUE returns 0.0 on first run, then the correct value on next run
I'm using a script I found here to calculate volume for my trades and it works great on the second run, but always fails on the first run.          double lots_maximum = SymbolInfoDouble ( Symbol ()
darkcanvas
Added topic How to work out if a Symbol is an index?
I have a couple of scripts that calculate the lot size depending on risk % and SL distance. sl=m_symbol.Ask()-Stop_Loss_POINTS*point; Is there a way to somehow work out if I'm calculating lot size for a forex pair, or for an Index.  I get the
darkcanvas
Added topic How to execute script to draw horizontal lines on all charts
My script looks for a couple of trendlines with specific names and draws another line on top of it, which can then be seen by an alert function . I am able to execute that script on the current chart, but I want this to do that on every chart. How do
darkcanvas
Registered at MQL5.community