Reply

Small difference in template makes performance boost

2 replies

clonex

Customer, bbp_participant, community, contributor, sq-ultimate, 263 replies.

Visit profile

1 year ago #255338

Hi,

 

i took  standard template sqx strategy style and i ve removed two parts of signals related to exit  

 

 

then ive removed related coditions from long/short entry conditions.

 

 

Im using only pt sl and trailings so i believe that i dont need these conditions. The result is ok template is working results are same in mt4 and in sqx but most important it is much faster 10-30% to generate with this config.

 

My question is  Is this approach ok. Theoretically, it should be the same as the default template but it is not possible to use indicators exit now. Am i right?

 

Thank you

Clnx

 

0

clonex

Customer, bbp_participant, community, contributor, sq-ultimate, 263 replies.

Visit profile

1 year ago #255369

OK i got it. Removing unused lines of code and speed of generating has increased  10-20% . I took 20 random strategies to remove unused code and results are the same . I hope that I’m not wrong

 

0

tomas262

Administrator, sq-ultimate, 684 replies.

Visit profile

1 year ago #255419

This is not a problem I think since as you mentioned you do not need to use these parts

0

Viewing 3 posts - 1 through 3 (of 3 total)