RENKO Based EA - Need for code

 

Hi friends...

i am trying to developed a Renko Based ea... actually i am new in MQL4..

i want to open the trade (buy or sell) when the second bearish or bull candle will make...

example In RENKO i set the bar size on 10 pip..on the second renko bull can i will open a buy trade. & my stoploss will below the previous candle..

now about the exit strategy....i want if my trade will go example 5 pip in profit stoploss should move on breakeven & after 10 pip profit it will move with 5 pip trilling stop....

It would be great to be able to do this... thanks.

Reason: