How to code these things in MQL4?

 

So i am just starting to learn MQL4 and i have read couple of tutorials. So can someone give me general directions how to code Parabolic SAR and set that MT opens position whenever SAR shows trend change. And second thing is that MT opens position 10 times my balance.

Thank you

 
General directions: https://book.mql4.com//
 
https://www.forex-tsd.com/metatrader-4-mql-4-development-course/134-welcome-mql4-course-2.html#post3746

Some good lessons here too you might need to setup a forum account to download them etc:

I used shuffle on linux to put all the lessons in one PDF for easier reading and navigation, however don't forget that the sample EA,script,indicator files are located in those links so if you make one large PDF you have to remember that you also downloaded those samples so that you can copy and past the example code into your MQL editor. Just FYI on that


Happy hacking