Author

Topic: MT4 and automation trading with multi tp (Read 28 times)

jr. member
Activity: 168
Merit: 7
January 08, 2024, 10:43:14 AM
#3
While there is no tools to covert pine script to MQL there are tools to link TV alerts to MT4 including Capitalise AI which I intent to test first. I am just trying to figure out if it will actually work and do what I want and if people have experiences with it or other tools
legendary
Activity: 2282
Merit: 2717
Top Crypto Casino
January 08, 2024, 10:36:53 AM
#2
[...]
This is all coded in pinescript but uncertain if it can be utilised easily on MT4. I have a demo account and the brooker allows capitalise ai which I plan to use but is this possible can I set multi tp and trailing stop losses or what is the best way to deal with it   
I'm afraid you'll have to translate your Pinescript into MQL4 by hand. I am not aware of any script/tool that can automatically convert Pinescript code to MQL. But if you have written the Pinescript code yourself, this should not be a problem technically, the MQL documentation is very good and you can also find lots of examples on Stackoverflow and co: MQL4 Reference
jr. member
Activity: 168
Merit: 7
January 08, 2024, 09:39:25 AM
#1
I am looking at ways to automate my mt4 trading. I have a strategy that when back tested on TV is working. It is built on pine script and uses the atr to set a stop loss and first take profit. When first tp is  hit it removes 50% of my position resets the sl at entry and then exists at atr cross.

This is all coded in pinescript but uncertain if it can be utilised easily on MT4. I have a demo account and the brooker allows capitalise ai which I plan to use but is this possible can I set multi tp and trailing stop losses or what is the best way to deal with it   
Jump to: