Profit Trailing (on close) ..how to convert tick by tick?!
23 replies
Gaudio Fx
10 years ago #115026
0
Tomas Matejka
10 years ago #136635
Hello,
when I turn if(!sqIsBarOpen) return(false); into a comment (it is placed in two functions ManageStop & ManageTrades) + I have changed Close[1] to Close[0] I got tick-by-tick profit trailing.
You’re another option could be to re-create your strategy using EA Wizard
0
Gaudio Fx
10 years ago #136657
0
geektrader
10 years ago #136667
It works only on bar close because you otherwise will have to ALWAYS use TICK data for anything, hence can´t create strategies anymore in bar open or selected timeframe only mode, which would slow down strategy-generation by heaps, there is no reliable tick-data prior to 2007, tick-data is absolutely broker dependent and the amount of ticks each broker sends per minute can differ
0
geektrader
10 years ago #136668
…. from anywhere from 50 to 700 ticks per minute. Strategies generated this way DO fail going forward (been there like 50 times in the last 8 years, even with tick-data collected from my broker) and that is surely not something we would like to see in SQ. Just look around, for that exact reason, ANY other strategy generation software (won´t name them here in respect for Mark) work on current bar open or previous bar close only.
(Sorry, had to split up the post, otherwise the stupid Forum won´t let me post, just says “Saving post” all the time and doesn´t post it….)
0
mikeyc
10 years ago #136674
(Sorry, had to split up the post, otherwise the stupid Forum won´t let me post, just says “Saving post” all the time and doesn´t post it….)
I get that error quite a lot geektrader on this forum, though it was just me. Takes ages to work around.
0
geektrader
10 years ago #136675
Yea, this forum-software just absolutely sucks. Would much prefer a standard PHPBB than this crappy one. Also, if you try to re-edit your posts in a to short amount of time, you get blocked completely by the firewall of strategyquant.com for a while…. just bad 🙁
0
Gaudio Fx
10 years ago #136676
thanks geektrader 🙂
0
kingsimelane
4 years ago #276353
hi, those this solution still hold true? i wanna use it for metatrader 5
0