one notch for long

Category: Strategies By: JohnScher Created: January 27, 2022, 9:50 AM
January 27, 2022, 9:50 AM
Strategies
2 Comments

The overriding overriding overriding overriding overriding… overriding trend since the beginning of the indices is long.
With short we always trade only corrections.

We look for entries into the trend?
So we buy when the price has fallen and starts to rise, not at a new high!

Easygoing.

Below is a small code that defines possible entries.

//-------------------------------------------------------------------------
// maincode : everytime long kavg5 co2 M9
//-------------------------------------------------------------------------
// created and coded by johnscher
// s&p500 longonly strategy
// timezone europe, berlin
// timeframe daily


defparam cumulateorders = false

once positionsize = 1

c1 = exponentialaverage [1] (close) crosses over exponentialaverage [2] (close)
c2 = close < average [5]


if c1 and c2  then
buy positionsize contracts at market
endif


set stop %loss 9
set target %profit 9

Download
Filename: one-notch-for-long.itf
Downloads: 335
JohnScher Veteran
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

Logo Logo
Loading...