LongEntrySignal = (GannHiLo(Main chart, GannHiLoPeriod1)[1] is in UP Trend
   and Close below BollingerBands(Subchart1, D1,BBBarClosesPeriod1, 1.1, PRICE_HIGH).UpperBand);

ShortEntrySignal = (GannHiLo(Main chart, GannHiLoPeriod1)[1] is in Down Trend
   and Close above BollingerBands(Subchart1, D1,BBBarClosesPeriod1, 1.1, PRICE_HIGH).LowerBand);

LongExitSignal = (Bar opens below Lowest(Main chart, BarOpensPeriod1, PRICE_LOW) after opened above
   and (BullsPower(Subchart1, D1,BPPeriod1)[3] > 0));

ShortExitSignal = (Bar opens above Highest(Main chart, BarOpensPeriod1, PRICE_LOW) after opened below
   and (BearsPower(Subchart1, D1,BPPeriod1)[3] < 0));



should be

LongEntrySignal = (GannHiLo(Main chart, GannHiLoPeriod1)[1] is in UP Trend
   and Close below BollingerBands(Subchart1, D1,BBBarClosesPeriod1, 1.1, PRICE_HIGH).UpperBand);

ShortEntrySignal = (GannHiLo(Main chart, GannHiLoPeriod1)[1] is in Down Trend
   and Close above BollingerBands(Subchart1, D1,BBBarClosesPeriod1, 1.1PRICE_LOW).LowerBand);

LongExitSignal = (Bar opens below Lowest(Main chart, BarOpensPeriod1, PRICE_LOW) after opened above
   and (BullsPower(Subchart1, D1,BPPeriod1)[3] > 0));

ShortExitSignal = (Bar opens above Highest(Main chart, BarOpensPeriod1, PRICE_HIGH) after opened below
   and (BearsPower(Subchart1, D1,BPPeriod1)[3] < 0));


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

History

b
#1

bentra

25.07.2022 01:29

Task created

b
#2

bentra

25.07.2022 01:29
Voted for this task.
o
#3

Enric

01.08.2022 11:50
Voted for this task.
E
#4

Emmanuel

06.08.2022 15:34
Voted for this task.
MF
#5

Mark Fric

31.08.2022 10:26

Status changed from New to Fixed


Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please