Forum

When does the Heiken Ashi change color?

I know how it's calculated: Close = (Open Price + High + Low +Close) / 4 Open = (Average of Open Price and Close Price of the previous bar) High = (Maximum value of the (High, Open, Close)) Low = (Minimum value of the (Low, Open, Close)) But I don't know how it gets a blue color or a red color. I

Change SL to TP once it's hit and set new TP

Hi there folks, I am trying to do the following: - once trade has hit take profit 1 - set stop loss to current market price (this won't be possible since TP and SL must differ from market price, but it should be possible to make the EA close the trade, correct?) AND - set new take profit to desired