stop loss al minimo o al massimo della precedente barra
Forums › ProRealTime forum Italiano › Supporto ProOrder › stop loss al minimo o al massimo della precedente barra
- This topic has 11 replies, 4 voices, and was last updated 7 years ago by Menghan.
-
-
10/20/2016 at 2:46 PM #15225
I want to create a type code:
long in the market with previous low candle stop
you help me?10/20/2016 at 4:18 PM #1523001/05/2017 at 2:46 PM #19930vorrei creare un codice dove inserire lo stop loss al minimo o al massimo della precedente barra
grazie
01/05/2017 at 3:14 PM #19933ciao
il minimo della barra precedente è low [1]. il massimo e high[1].
es:
12345678910111213if condizione 1 thenbuy 1 contract at marketstoploss= low[1]endifif condizione 2 thensellshort 1 contract at marketstoploss= high[1]endifset stop loss stoploss01/05/2017 at 9:53 PM #1997701/05/2017 at 10:00 PM #19978grazie
m non prende gli stop e non so perche’
01/06/2017 at 9:28 AM #20000The “set stop loss” want points value in the own instrument digits, not price level, so the code should be instead:
1234567891011if condizione 1 thenbuy 1 contract at marketstoploss= close-low[1]endifif condizione 2 thensellshort 1 contract at marketstoploss= high[1]-closeendifset stop loss stoploss1 user thanked author for this post.
01/14/2017 at 2:36 PM #21051buongiorno
come faccio ad inserire l’indicatore Bill Williams Fractals ?
grazie
01/17/2017 at 8:34 PM #21508ho messo gli stessi codici su proreal 10.2 e su 10.3 e nel probacktest non risulta uguale
come mai?
04/13/2017 at 4:45 PM #31967123456789101112period=55XDAY=5h55=highest[period](high)once i=0if h55<=h55[1] and h55<=h55[2] and h55<=h55[3] and h55<=h55[4] and BARINDEX-TRADEINDEX>=Xday thenbuy 1 shares at h55+0stopendifif HIGH=highest[period](high) and BARINDEX=TRADEINDEX and onmarket theni=low[1]endifr=tradepricE-iSET STOP loss rI want to create a type code:
long in the market with previous low candle stop
If only one is correct,But more than two are wrong
can you help me,Try for a long time can not solve
04/13/2017 at 10:25 PM #31992Hi Menghan
Thanks for you question, it may help many people to resolve similar problem here in the forum, but this is Italian forum and it should be write in English, please post your question in a new topic in the english forum.
Thanks
Ale
04/14/2017 at 1:36 AM #31998 -
AuthorPosts
Find exclusive trading pro-tools on