I want it to buy/sell at the cross of Value4 and Trigger, when below/above the buylevel/selllevel.
This line of code works just fine out of another system
" BuyLevel = Optimize( "BuyLevel", 28, 5, 30, 1 );
Buy = RSI < BuyLevel;
Sell = RSI > 50;"
So whats the difference between that and what I had in-
"Buy = Cross (Value4, Trigger) < BuyLevel;
Sell = Cross (Trigger, Value4) > SellLevel;"
This line of code works just fine out of another system
" BuyLevel = Optimize( "BuyLevel", 28, 5, 30, 1 );
Buy = RSI < BuyLevel;
Sell = RSI > 50;"
So whats the difference between that and what I had in-
"Buy = Cross (Value4, Trigger) < BuyLevel;
Sell = Cross (Trigger, Value4) > SellLevel;"