|
|
Re: One Night Stand System
[Re: RTG]
#460832
07/16/16 12:50
07/16/16 12:50
|
Joined: Dec 2013
Posts: 568 Fuerth, DE
Sphin
User
|
User
Joined: Dec 2013
Posts: 568
Fuerth, DE
|
Have you tried adding the SMA trend condition to the entry? I think I missed something, what trend condition do you mean?
|
|
|
Re: One Night Stand System
[Re: RTG]
#460873
07/18/16 17:01
07/18/16 17:01
|
Joined: Dec 2013
Posts: 568 Fuerth, DE
Sphin
User
|
User
Joined: Dec 2013
Posts: 568
Fuerth, DE
|
What did you code? If you do it exactly as you described:
if(dow() == 1) {
Entry = 50*PIP;
Stop = 60* PIP;
// EntryTime = 5;
if (Price[0] < SMA220[0])
enterShort(WatchTrades);
if (Price[0] > SMA220[0])
enterLong(WatchTrades);
}
you surely get also long trades. The OCO conditions in WatchTrades are unnecessary in this variant, but this only BTW. There are in deed some assets with profit but personally I don't like strategies that have such a low relation of win/loss trades and produce profit in the past only because their win trades produced more win than their loss trades lost. I think this can easily turn in future.
|
|
|
|
|
|