New rule type - For each bar - Control flow like "FOR EACH BARS" in custom template

Hello!


I already requested this on bata5, but is is not added even though this task has been marked as "fixed".
I think I gave you insufficient descriptions..


In current version of SQ4 Wizard, "IF-THEN / Action only / FOR Each Trade "control flow is supported.
What if FOREACH control flows are supported for price candles?
(Not "FOR EACH Trades" , but "FOR EACH Bars" with shift ranges)


This will enable repeated IF-ELSE comparison through the candle shifts like below...
I modified MQ4 files that  SQ4 generates into this scheme, and got really great results from them. It will be cool If SQ4 support this repeated comparison!


FOR EACH BARS (candle N in range 100) {


     IF {
           .... rules .....


          && ( HIGH[ N ]  > LOW[ 1 ] )


          &&           .... rules .....


     }THEN{

       

           .... actions ....


     }
}


Malim


Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Feature
  • Status Archived
  • Priority Normal
  • Assignee Mark Fric
  • Milestone Archived (To be done later)

History

k
#1

rnd_7378f217b90kkk

19.09.2017 05:49

Task created

k
#2

rnd_7378f217b90kkk

19.09.2017 11:02

Type changed from Bug to Feature

MF
#3

Mark Fric

10.10.2017 04:54

Assignee was changed

Subject changed from Control flow like "FOR EACH BARS" in custom template to New rule type - For each bar - Control flow like "FOR EACH BARS" in custom template

Milestone changed from None to Beta 7

it is a good idea, we can add this special rule.


I have to check how difficult it would be to implement this.

MF
#4

Mark Fric

02.11.2017 16:54

Milestone changed from Beta 7 to Beta 8

MF
#5

Mark Fric

31.01.2018 09:21

Milestone changed from Beta 8 to Beta 9

moving it to Beta 9, we'll have to add a special rule
MF
#6

Mark Fric

17.04.2018 11:23

Milestone changed from Beta 9 to Beta X

MF
#7

Mark Fric

16.02.2020 13:52

Status changed from New to Archived


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please