Entry symetry HighDaily -LowDaily

Maybe it woud be better connection HighDaily - LowDaily and LowDaily - HighDaily ...

Now is :


if LongEntrySignal
{
    // Action #1
    Open Long order at (HighDaily(Main chart)[10] - (0.50 * SmallestRange(Main chart, 3)[4])) Stop;
        Order valid for 4 bars;
        Stop Loss = 140.0 pips;


        Trailing Stop = 90.0 pips;


        Exit After 6 bars;


}




//--------------------------------------------------------------------
// Trading rule: Short entry (On Bar Open)
//--------------------------------------------------------------------                   
if (ShortEntrySignal
   and Not LongEntrySignal)
{
    // Action #1
    Open Short order at (HighDaily(Main chart)[10] + (0.5 * SmallestRange(Main chart, 3)[4])) Stop;
        Order valid for 4 bars;
        Stop Loss = 140 pips;


        Trailing Stop = 90 pips;


        Exit After 6 bars;

Attachments
No attachments
  • Votes +5
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

PK
#1

investor666

09.10.2018 18:15

Task created

h
#2

hankeys

09.10.2018 19:12
Voted for this task.
h
#3

hankeys

09.10.2018 19:13
also SmallestInRange and HighestInRange should be symetric in the entry conditions
IH
#4

clonex / Ivan Hudec

10.10.2018 09:11
Voted for this task.
FD
#5

fdaprile

19.11.2018 04:37
Voted for this task.
FD
#6

fdaprile

19.11.2018 04:42
Please see also (fixed) task sq4_2960.

HIGHEST(HIGH) should also be inverted to LOWEST(LOW)!

Currently, the calculation price "High" is not mirrored to "Low",

so you get LOWEST(HIGH) instead...

KL
#7

kainc301

15.12.2018 05:56
Voted for this task.
b
#8

bentra

30.08.2019 16:26
Voted for this task.
MF
#9

Mark Fric

30.10.2019 09:23

Status changed from New to Fixed


Votes: +5

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please