I can help you help yourself, start by testing and getting a few simple blocks working. no buy/sell trade/position - condition (doing anything) - buy/sell, make this in 2 trees (1 4 buys, 1 4 sells), back test and watch it how it works, then decide what you want to add/change.
T