mt4

Getting signals from telegram channel and placing them in MT4 using Python

前提是你 提交于 2021-01-25 07:12:38
问题 I would like to read messages from a Telegram channel (which are essential forex signals) and place the orders in MT4 windows application. For now, I have made a python script which listens to the channels and stores messages in a database. I can also parse the messages for necessary values like TP,SL etc. Now, that I have those signals, how can I place them? I read in others answers about ZeroMQ and Python binding but I don't need to do any analysis or strategy building, I just want to place

Getting signals from telegram channel and placing them in MT4 using Python

試著忘記壹切 提交于 2021-01-25 07:10:39
问题 I would like to read messages from a Telegram channel (which are essential forex signals) and place the orders in MT4 windows application. For now, I have made a python script which listens to the channels and stores messages in a database. I can also parse the messages for necessary values like TP,SL etc. Now, that I have those signals, how can I place them? I read in others answers about ZeroMQ and Python binding but I don't need to do any analysis or strategy building, I just want to place

Getting signals from telegram channel and placing them in MT4 using Python

旧城冷巷雨未停 提交于 2021-01-25 07:09:51
问题 I would like to read messages from a Telegram channel (which are essential forex signals) and place the orders in MT4 windows application. For now, I have made a python script which listens to the channels and stores messages in a database. I can also parse the messages for necessary values like TP,SL etc. Now, that I have those signals, how can I place them? I read in others answers about ZeroMQ and Python binding but I don't need to do any analysis or strategy building, I just want to place

Getting signals from telegram channel and placing them in MT4 using Python

人盡茶涼 提交于 2021-01-25 07:09:44
问题 I would like to read messages from a Telegram channel (which are essential forex signals) and place the orders in MT4 windows application. For now, I have made a python script which listens to the channels and stores messages in a database. I can also parse the messages for necessary values like TP,SL etc. Now, that I have those signals, how can I place them? I read in others answers about ZeroMQ and Python binding but I don't need to do any analysis or strategy building, I just want to place

How can I recognise programmatically when an up/down arrow is drawn on a chart when arrow objects are hidden?

浪子不回头ぞ 提交于 2020-05-28 04:25:51
问题 I know how to draw an object arrow on the chart, which I usually do like this: ObjectCreate(0,"prevHigh",OBJ_ARROW_DOWN,0,Time[0],High[highestCandle]); ObjectSetInteger(0, "prevHigh", OBJPROP_COLOR, clrRed); Now I have an indicator which (I didn't code myself and is a .ex4 file which) draws up/down arrows on the chart as seen in the image (https://imgur.com/a/8yG0suw). How can I when for example a Magenta down arrow has been drawn and the candle (index) at which it is drawn? Please note that

MT4 Manager API => .Net ClrWrapper

﹥>﹥吖頭↗ 提交于 2019-12-25 17:14:09
问题 I am using mtmanapi.dll with a .Net CLR wrapper I am getting correct Ask and Bid values for symbols without any special characters in the Symbol name - ( e.g. EURUSD , GBPUSD and so on ), but if symbols have some special character in it ( e.g. EURUSD' , GBPUSD0 and so on ), then it's not fetching Ask and Bid value using a SymbolInfoGet() method. 回答1: It should work and below code returns quotes for US100, OIL.WTI, 225JPY from my server. I am using SymbolInfoUpdated() however it's similar to

Why is my EA not moving my position to breakeven?

三世轮回 提交于 2019-12-23 03:24:06
问题 I'm attempting to modify my market orders to breakeven the position when the position get 100 pips to the good. This also accounts for the StopLevels which are around 20-30 pips for my broker. It checks the param's via a " for(){...} loop" function The MagicNumber is the timeframe number for the chart it is on (i.e. 240 =4H, 60 =1H) I don't set a TakeProfit price & initially no StopLoss price. The EA is not adding a SL to be equal to the opening price when the trade reaches 100 pip in profit

【MT4的优点】

假装没事ソ 提交于 2019-12-12 03:44:03
对于交易商来说: MetaTrader 4涵盖了执行经纪服务所需的所有要素。交易服务器,访问点,经理端,多种网关 和数据源 - 所有要素都已在MetaTrader 4 后台提供。 对于交易者来说: MetaTrader 4 客户端提供了先进的技术分析,灵活的交易系统,便利的移动功能和有效的 算法交易。额外的市场和信号服务。 MT4的对于交易者来说,主要优点在于界面直观、操作简单,在功能方面也能满足基本的交易需求。 mt4搭建欢迎咨询微 信 853722147 来源: CSDN 作者: weixin_45718818 链接: https://blog.csdn.net/weixin_45718818/article/details/103499112

Does ShellExecuteW(…) work only once in MetaTrader 4 or not?

三世轮回 提交于 2019-12-12 01:27:06
问题 Trying to launch an .exe from MQL4 using ShellExecuteW() . Does this command work only once, or not? #import "shell32.dll" // MQL4-syntax-wrapper-Bo[#import]Container // v-------------- caller-side interface to DLL int ShellExecuteW( int hWnd, int lpVerb, string lpFile, int lpParameters, int lpDirectory, int nCmdShow ); #import // MQL4-syntax-wrapper-Eo[#import]Container if ( cond == true ){ ShellExecuteW( 0, "open", "D:\\Execute.exe", "", "", 1 ); } 回答1: A: a short version Maybe yes, maybe

MQL4 Can you get the trade volume from the One Click Panel?

北城余情 提交于 2019-12-11 14:47:08
问题 Does anyone know if and how you can get the trade volume from the One Click Trade panel on the current chart? I'm putting together some quick trade scripts and would be great to pull the current trade volume or lot size from the one click panel. Thanks in advance 回答1: IMHO no The recent 24 months of Metatrader 4 ( re-inventing ) product updates have brought a few teasing elements ( One-Click-Trading[TM] ( OCT ), or Depth-Of-Market ( DOM ), New-MQL4 ( nMQL4 ) ). The bad news, nevertheless, is