Channel Breakout Strategy At Close
Author: marat_tema
Creation Date: 10/24/2013 10:11 AM
profile picture

marat_tema

#1
Hello!
Just sorry, I write through Google Translator. I have a very simple strategy. Break of the 70-period high - purchase, sample 40-period minimum - for sale. This strategy has the rules, calling "Buy at stop channel High" and "Sell at stop channel Low". But to me it is important that the purchase and sale occurred when the closing price of the candle falls above and below, respectively. How can this be corrected? Sorry for the stupid questions.
profile picture

Eugene

#2
How about this? The key is using Buy/Sell At Close rules in conjunction with "Price makes a new high/low" condition from "Price (or Volume) Action" group.



Note: on screenshot, I added the High/Low rules in incorrect order -- it's pretty obvious that they should be reversed.
profile picture

marat_tema

#3
Eugene, thank you!
but i need close>high 70 and close<low40. doesn't work
profile picture

Eugene

#4
It does work when you select Price=Close as the parameter. Otherwise try rephrasing or clarifying your request.

Nevertheless, you can try this code:
CODE:
Please log in to see this code.
profile picture

marat_tema

#5
Bravo! Thank you very much!
Большое спасибо!!!