--------------------------------------------------------------------
Pseudo Source Code of EU H1 - Strategy 4.21_3
  with parameter names.

  Generated by StrategyQuant version 3.8.2
  Generated at Sat May 11 18:18:00 GMT 2019
                                                          
  Tested on EU_M1_TDS, H1, 05.05.2003 - 12.07.2015
  Spread: 2.0, Slippage: 0.0, Min distance of stop from price: 5.0
--------------------------------------------------------------------
====================================================================
== Entry conditions
==================================================================== 
LongEntryCondition = true
ShortEntryCondition = true


====================================================================
== Entry orders
====================================================================
-- Long entry
if LongEntryCondition is true {
   if No position is open then Buy at HeikenAshiOpen(8) + (-0.9 * ABS(LinearRegression(53) - Lowest(34))) Limit;
   Stop/Limit order expires after 13 bars.

   Stop Loss = (14.97 * ATR(66)) pips;

   // Move SL to BE (on close)
   Move Stop Loss to Entry price when in profit at least (11.74 * ATR(97)) pips;

   // Stop trailing (on close)
   Move Stop to (HighDaily(16) + (0) * ATR(84))) on bar close;
}

-- Short entry
if ShortEntryCondition is true {
   if No position is open then Sell at HeikenAshiOpen(8) + (0.9 * ABS(LinearRegression(53) - Highest(34))) Limit;
   Stop/Limit order expires after 13 bars.

   Stop Loss = (14.97 * ATR(66)) pips;

   // Move SL to BE (on close)
   Move Stop Loss to Entry price when in profit at least (11.74 * ATR(97)) pips;

   // Stop trailing (on close)
   Move Stop to (LowDaily(16) + (0) * ATR(84))) on bar close;
}


