Support Board
Date/Time: Tue, 26 Nov 2024 06:51:45 +0000
Post From: Buy Exit Code help
[2014-03-30 21:31:27] |
Litz - Posts: 131 |
tomglib , this is what I came up with to solve the problem of preventing buys while longer term MA is still going down: =OR(AND(CROSSFROMBELOW(AE3:AE5,AH3:AH5 ), AE3>AH5,AB3>AB5) , AND(AE3>AH5,AA3>AB3,AA4<AB4)) K =OR(AND(CROSSFROMABOVE(AE3:AE5,AG3:AG5),AA3<AB3),AND(AE3<AG5,AA3<AB3,AA4>AB4)) M seems ok with input and range bar tweaks Now looking to include Stochastic divergence above 80 or below 20 to improve entries Divergence is a good reversal sign http://www.tradeforextrading.com/index.php/stochastic/stochastic-divergence-trading IE if %K decreases after crossing above 80 while price increases, sell if short term ma reverses from friday ES example of divergence http://www.sierrachart.com/image.php?l=1396215671106.png playing with these: if %K decreases after cross above 8o, and price increases, buy when %K crosses 80 =OR(AND(CROSSFROMABOVE(AE3:AE5,AG3:AG5),AA3<AB3),AND(AE3<AG5,AA3<AB3,AA4>AB4) , AND(AE3>AG3,AE3>AE5) , AND (AA3<AA5,AE3<AG3)) conversly If %K increases after crossing below 20 while price decreases, buy when %K crosses above 20 =OR(AND(CROSSFROMABOVE(AE3:AE5,AG3:AG5),AA3<AB3),AND(AE3<AG5,AA3<AB3,AA4>AB4) , AND(AE3<AH3,AE3>AE5) , AND (AA3>AE5,AE3>AH3)) still learning Date Time Of Last Edit: 2014-03-30 21:41:49
|