PE – Alert 3
Alert 3 uses formula conditions to generate alerts. Inside the formula there is a code block for buy, sell, short and cover rules. The signals from these rules are shown visually through green and red arrows. Filled arrows are displaying buy and sell signals while non-filled arrows displaying short and cover signals. The formula contains sample conditions that you can adjust to your needs.
Buy = def_Buy AND Ref(PeTaio(), -1) == LLV(PeTaio(), 3) AND Ref(PeTaio(), -1) < -80; // Your buy condition BuyText = "Sample buy signal"; Sell = def_Sell AND Ref(PeTaio(), -1) == HHV(PeTaio(), 3) AND Ref(PeTaio(), -1) > 80; // Your sell condition SellText = "Sample sell signal"; Short = def_Short AND Cross(80, StochD()); // Your short condition ShortText = "Sample short signal"; Cover = def_Cover AND Cross(StochD(), 20); // Your cover condition CoverText = "Sample cover signal";

