Simple!!
Grab the indicator you see on the internet and simply write the program in CTL language for Dealbook.
CTL is a lot simpler than the code you use for MT4.
I have written a few indicators myself.
Further, the Dealbook chart studio has a totally comprehensive instruction manual and a guide.
As well as this there is a forum where you can post your programming and they will fix it for you with explanations.
It is thro this material that I have learnt to program code myself.
The Dealbook CTL is very similar to the code used in both the Metastock and Bullcharts programs used in stock trading.
Not only that, but you can also program the computer in CTL to do the trading automatically for you (trading robot).
I have seen some indicator codes both in MT4 and in CTL.
CTL is sheer simplicity compared with MT4 code and takes only a fraction of the lines needed.