Forex Zone - Forex Forum

INDICATOR TO EA

Discussion started on New EA Coding

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
ok, there is something i just observed from the trades it took now, when i set the tp 80 pips and sl 100 pips , the robot will set it at 12pips and 8pips . but i increase to 800 pips and 1000 pips but it still the same why .
I'm not sure what you're talking about. I just tested it again and it worked fine. Can you provide a log file? Are there any other programs running in your MT4 that may be trying to manage this EA's trades? 
#16 - October 10, 2018, 11:12:32 PM

INDICATOR TO EA in New EA Coding_topic=585

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
Regarding the news, do you know when these indicators were last updated? Or any idea which one is the newest or more reliable?

Just so you know, from my experience with news indicators, they need updated sometimes because the news sources (eg. ForexFactory) can change their format. When this happens the EA may need updated. In my opinion, it is not worth the effort to have a news filter because of this.
#17 - October 11, 2018, 01:01:31 AM

  • Newbie
  • Posts: 13
  • Points: 58
  • Likes Received: 0
  • Reputation: +1/-0
ok .thanks.but there is no place you can select number of trades the ea ca execute,please try and put it.the ea is trading as suppose but the stop loss and take profit is not working well see the attachment.they are too close from the opened position thanks.
#18 - October 11, 2018, 05:56:18 AM
Attachments:

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
but there is no place you can select number of trades the ea ca execute,please try and put it.

This is the first time hearing of such a thing. I (and any other coder) need to know exactly what you want. The EA will only have 1 trade open at a time. Trades occur only on the candle that has a new signal change. So please explain exactly what you mean.




but the stop loss and take profit is not working well see the attachment.they are too close from the opened position thanks.

I see the attachments, but what were the settings you used? You do realize that the TP/SL are in Points and not Pips, right?

#19 - October 11, 2018, 01:57:45 PM

  • Newbie
  • Posts: 13
  • Points: 58
  • Likes Received: 0
  • Reputation: +1/-0
thanks for the reply, please what do you mean by points, i used TP 80 pips and SL100pips,please tell me how points can give such pips.what i mean is that the ea will have interface where you select the maximum number of trades it can trade in a row.for instance  if you select 10 it means when the ea opened 10 trades no other signal will be traded by the ea until it closes one of the trade it will trade another to make it 10 and so on
#20 - October 11, 2018, 06:20:34 PM

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
what do you mean by points, i used TP 80 pips and SL100pips,please tell me how points can give such pips.

I mean the common term 'Points' used in MT4. It's the smallest unit of price. Sometimes, it's the same as Pips, but it depends on the broker and type of account. Nowadays, many brokers offer fractional pip pricing. So a Point wouldn't be the same as a Pip then. As an example, let's say you have a fractional pip broker and you trade a buy trade for EURUSD. Price is 1.15905. The highlighted 5 is the points place. So if you set a TP of 80 points, the TP would be 1.15985.

Look at your first image for USDJPY. There doesn't seem to be any problem. The inputs are based in Points and not Pips. That is why I made the inputs say specifically "Points". It is easy to understand and reliable for any chart and broker this way.




what i mean is that the ea will have interface where you select the maximum number of trades it can trade in a row.for instance  if you select 10 it means when the ea opened 10 trades no other signal will be traded by the ea until it closes one of the trade it will trade another to make it 10 and so on

This is the first time hearing of this from you. It would have been good to say this before. I still don't know what you mean though, because the EA will only ever have 1 trade open at a time per EA. It will not open a new trade unless the previous trade is closed. This is how it works, but you talk as if the EA will have multiple trades open and this needs to be under control.
#21 - October 11, 2018, 06:37:40 PM

  • Newbie
  • Posts: 13
  • Points: 58
  • Likes Received: 0
  • Reputation: +1/-0
thanks , let me try the points and see how it works,the ea opens trade ones there is signal so it can open as many as the signal appears.so that is why is necessary to use maximum trade.
#22 - October 11, 2018, 07:48:53 PM

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
thanks , let me try the points and see how it works,the ea opens trade ones there is signal so it can open as many as the signal appears.so that is why is necessary to use maximum trade.

Yes, think it terms of Points and you will see that it works fine.

I understand now, but I wish you would have said this in the beginning. If I had done it that way, you could just as easily complained that the EA is hedging or something. That is why precise details in the beginning are best.

Please reply back about my news indicator questions.
#23 - October 11, 2018, 07:59:45 PM

  • Newbie
  • Posts: 13
  • Points: 58
  • Likes Received: 0
  • Reputation: +1/-0
Thanks,  when it comes to trading robots,  one needs to be extra careful,  it is common in all robot. I don't understand this point of a stuff. I have tried it again and I m not getting it. I m more familiar with pips than points. Is making me to manually fix them in any opened trade. Please can you do it pips. You mentioned news you want to include it  very good thanks. 
#24 - October 11, 2018, 09:23:56 PM

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
Thanks,  when it comes to trading robots,  one needs to be extra careful,  it is common in all robot. I don't understand this point of a stuff. I have tried it again and I m not getting it. I m more familiar with pips than points. Is making me to manually fix them in any opened trade. Please can you do it pips. You mentioned news you want to include it  very good thanks.
Points is just as easy to understand as Pips. Just think of it as the smallest unit of price. If you want to think in terms of Pips though and you see that 80 is only giving you 8 Pips TP/SL, just input 800 then for 80 Pips (an extra 0). I prefer to think in terms of Points because it will work on any broker, chart, or account type. With EA's that convert to Pips, they don't always convert right.

You still didn't answer about my news question.
#25 - October 11, 2018, 09:33:25 PM

  • Newbie
  • Posts: 13
  • Points: 58
  • Likes Received: 0
  • Reputation: +1/-0
ok thanks. the points is working right now is just to add exra 0 to get 80 pips (800) 100 pips(1000) and so on thanks . the news i dont know when last it was updated , but it keeps giving the update about any economic news both high and low impact.but the ea will only observe the high impact news.i will include the one that is working well here both ex2 and mq4.thanks the trailing stop remember.thanks
#26 - October 12, 2018, 04:28:55 AM
Attachments:

Administrator
  • Hero Member
  • Posts: 5113
  • Points: 29360
  • Likes Received: 5122
  • Reputation: +220/-14
thankgod, please check your PM.
#27 - October 13, 2018, 07:01:02 PM

  • Newbie
  • Posts: 15
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
I want to try this EA
#28 - February 09, 2019, 11:44:58 PM

  • Full Member
  • Posts: 114
  • Points: 0
  • Likes Received: 15
  • Reputation: +0/-80
Sorry about that. I forgot about that. I will get it done soon.
I want to ask for help making EA. Can Admin help me? I have some logic, but I don't know how to make EA.
::)
#29 - February 10, 2019, 01:57:00 AM

paidto

I want to ask for help making EA. Can Admin help me? I have some logic, but I don't know how to make EA.
::)
if according to my suggestion it is better for you to make a new post and ask for help from the member here
all in sharing the logic in the post that was made earlier
it will speed up people to help make EA
#30 - February 21, 2019, 04:20:57 AM

Members:

0 Members and 1 Guest are viewing this topic.