Forex Zone | Forex Forum

Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format

Discussion started on Indicator Modifications

  • Posts: 7
  • Points: 390
  • Likes Received: 1
  • Reputation: +0/-0
Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_clip
Dear all,

I am new here. can anyone kindly help me convert this indicator to the new format compatible to run in an EA in recent MT4 build. As I checked through the code and noticed the buffers won't work since the old MT4 language was used to write the indicator. For example, Init() which should be OnInit() in new builds etc. Please kindly help as I attach the warning message I get from my system and indicator source file.

Thanks.


Linkback: https://www.forex.zone/indicator-modifications/16/conversion-of-an-old-format-of-metatrader-4-code-to-new-mt4-build-andgt-600plus-format/3055/
#1 - March 11, 2020, 11:01:33 PM
Attachments:
« Last Edit: March 11, 2020, 11:03:37 PM by dabtchero »

  • Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_index
  • Posts: 3371
  • Points: 34384
  • Likes Received: 3043
  • Reputation: +172/-13
Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_xx
You mentioned a single indicator, but attached 2 different indicators. Why?
#2 - March 11, 2020, 11:22:54 PM

  • Posts: 7
  • Points: 390
  • Likes Received: 1
  • Reputation: +0/-0
Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_xx
Sorry about that. But they both have a similar issue.

Thanks. so 
#3 - March 12, 2020, 06:15:59 AM

  • Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_index
  • Posts: 3371
  • Points: 34384
  • Likes Received: 3043
  • Reputation: +172/-13
Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_clip
Here is the new version of 100pipstodayscalper+push. It was a simple change to get this working. Everything else has stayed the same.
#4 - March 14, 2020, 04:08:21 PM
Attachments:

  • Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_index
  • Posts: 3371
  • Points: 34384
  • Likes Received: 3043
  • Reputation: +172/-13
Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_xx
For the half-trend indicator, I tested it and it works. It also compiles fine.
#5 - March 14, 2020, 04:10:36 PM

  • Posts: 7
  • Points: 390
  • Likes Received: 1
  • Reputation: +0/-0
Conversion of an old format of MetaTrader 4 code to new MT4 build > 600+ format in Indicator Modifications_xx
Thanks a lot for the help. It worked :D:D
#6 - March 15, 2020, 08:19:29 PM

Members:

0 Members and 1 Guest are viewing this topic.


* Share Topic

Share via delicious Share via digg Share via facebook Share via linkedin Share via pinterest Share via reddit Share via stumble Share via tumblr Share via twitter

* Similar Topics

clip
Murrey_Math_Lv Indicator MetaTrader 5

Started by Fxortrader on MT4 / MT5 Indicators

0 Replies
519 Views
Last post November 09, 2019, 09:01:45 AM
by Fxortrader
xx
EA Code

Started by Francoisvs on EA Modifications

41 Replies
1967 Views
Last post August 12, 2019, 06:25:31 AM
by munilipez
xx
need code done mq4

Started by rgmorris on EA Modifications

13 Replies
619 Views
Last post June 26, 2019, 07:35:58 AM
by zahro
clip
NEED HELP TO CODE NEW INDICATOR

Started by Gutis on New Indicator Coding

2 Replies
476 Views
Last post July 05, 2019, 09:05:41 AM
by urip