JIVA 3EMAs DSS v1.1
features:
-- separate settings for each order (tp, sl etc)
-- 3rd order optional opening
-- 2nd order optional trailing
-- adjustable settings for all indicators
-- no external indicators calculation (for dss)
-- generating magics before opening orders (so it's unique for any new order)
-- no bugs
--------------------------------------------------------------------------
ok, new version arrived:
-- fixed bug with the 3rd order magic
-- algorithm for opening positions corrected
please disregard v1
-------------------------------------------------------------------------
external variables description:
StartHourByGMT,EndHourByGMT - gmt time when session starts and sends
GmtOffset - offset in hours if your broker is not gmt time
magic1,magic2,magic3 - manually defined magic numbers for 3 orders
GenerateMagicNumbers - if you want to use a new magic # any time when an order opened, set this true
MagicLength - if you have chosen previous option, use this setup for defining how many digits they will contain from, maximum value allowed in MT4 is 9 (could be more, but will show a different number instead), to avoid repeating numbers it's strongly recommended to use this value higher then 5
OpenThirdOrder - option to open a third order
Order2Delay,Order3Delay - value (in seconds) which ea will pause until will open a next order
Order1TakeProfit,2,3 ... - takeprofit for each order
Order1StopLoss,2,3 ... - stoploss for each order
lot - lot (equal to all orders)
TrailOrder2 - if true, second order will be trailed after closing a first one with TrailingStop
ChannelEmaPeriod - period for 2 emas which create a "channel"
TrendSmaPeriod - sma period for long sma to identify a trend
DssEmaPeriod,DssStochasticPeriod - value for dss calculation
features:
-- separate settings for each order (tp, sl etc)
-- 3rd order optional opening
-- 2nd order optional trailing
-- adjustable settings for all indicators
-- no external indicators calculation (for dss)
-- generating magics before opening orders (so it's unique for any new order)
-- no bugs
--------------------------------------------------------------------------
ok, new version arrived:
-- fixed bug with the 3rd order magic
-- algorithm for opening positions corrected
please disregard v1
-------------------------------------------------------------------------
external variables description:
StartHourByGMT,EndHourByGMT - gmt time when session starts and sends
GmtOffset - offset in hours if your broker is not gmt time
magic1,magic2,magic3 - manually defined magic numbers for 3 orders
GenerateMagicNumbers - if you want to use a new magic # any time when an order opened, set this true
MagicLength - if you have chosen previous option, use this setup for defining how many digits they will contain from, maximum value allowed in MT4 is 9 (could be more, but will show a different number instead), to avoid repeating numbers it's strongly recommended to use this value higher then 5
OpenThirdOrder - option to open a third order
Order2Delay,Order3Delay - value (in seconds) which ea will pause until will open a next order
Order1TakeProfit,2,3 ... - takeprofit for each order
Order1StopLoss,2,3 ... - stoploss for each order
lot - lot (equal to all orders)
TrailOrder2 - if true, second order will be trailed after closing a first one with TrailingStop
ChannelEmaPeriod - period for 2 emas which create a "channel"
TrendSmaPeriod - sma period for long sma to identify a trend
DssEmaPeriod,DssStochasticPeriod - value for dss calculation
Attached File(s)
JIVA 3EMAs DSS v1.1.mq4
16 KB
|
236 downloads
JIVA 3EMAs DSS v1.1.ex4
18 KB
|
259 downloads