Bitcoin Forum
October 08, 2024, 11:21:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MT4 and automation trading with multi tp  (Read 38 times)
forestx (OP)
Jr. Member
*
Offline Offline

Activity: 171
Merit: 7


View Profile
January 08, 2024, 01:39:25 PM
 #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   
Lakai01
Legendary
*
Offline Offline

Activity: 2450
Merit: 2894



View Profile
January 08, 2024, 02:36:53 PM
 #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

█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
██████████████▐█▄█████
██████▀▀███████▐█▀█████
███▄▄▄▄██▄▀▄▀▀█████▀▀███
███▀▀▀█████████▐▀▀▄▄▄▀██
██▄▀████▌████▐█▀█████
███████████████████▄▀██
█████████████████████████
█████████████████████████
█████████████████████████
 
  SCROLL.BET  
████
██
██
██
██
██
██
██
██
██
██
██
████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
 
Best Telegram Casino & Sportsbook
 
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████
██
██
██
██
██
██
██
██
██
██
██
████
 
 $SCRL AIRDROP 
forestx (OP)
Jr. Member
*
Offline Offline

Activity: 171
Merit: 7


View Profile
January 08, 2024, 02:43:14 PM
 #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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!