Jump to content


Next High Impact Market News Event:
Retrieving events...

Toggle shoutbox The Traders Chat Open the Shoutbox in a popup

If someone starts flaming you PM me with a screenshot of the incident and I will ban them if its legit. Do not flame them back, it makes our work as admins harder figuring out who started it. So if you flame them back, you may get banned too.
@  Shahram : (22 November 2017 - 07:52 PM) binary option
@  MTH2014 : (22 November 2017 - 05:33 PM) lol you don't believe me right ? I really see selena gomez in red orange like a crab : https://i.gyazo.com/...22e035ac7ca.jpg
@  Tripack : (22 November 2017 - 05:17 PM) Rofl
@  MTH2014 : (22 November 2017 - 05:16 PM) I see selena gomez..
@  Tripack : (22 November 2017 - 05:16 PM) now ppl see crabs and stuff
@  Tripack : (22 November 2017 - 05:15 PM) Then you have forms within forms etc, too much of a headache, when I was a kid I looked at clouds in the sky and I saw a cat while my buddy saw a dog :P
@  Tripack : (22 November 2017 - 05:11 PM) if a form is not confirmed and fails it will start forming another one etc
@  Tripack : (22 November 2017 - 05:10 PM) @zee harmonics do repaint by nature
@  Tripack : (22 November 2017 - 05:04 PM) I guess it happens everywhere
@  MTH2014 : (22 November 2017 - 05:03 PM) it happen in my country too... lol
@  Tripack : (22 November 2017 - 05:02 PM) Nope, lol.
@  MTH2014 : (22 November 2017 - 05:02 PM) @Tripack that my country ...lol
@  Tripack : (22 November 2017 - 05:01 PM) Someone once told me in a completely different context than trading that in his country, if someone starts to make shoes and his business works well, the the whole village will make shoes too, instead of be creative and make something else
@  MTH2014 : (22 November 2017 - 05:01 PM) maybe because of Thanksgiving.. ??
@  Tripack : (22 November 2017 - 04:58 PM) Good question
@  MTH2014 : (22 November 2017 - 04:57 PM) why people looking for Legends and not looking for profit ?
@  Tripack : (22 November 2017 - 04:55 PM) Heh
@  MTH2014 : (22 November 2017 - 04:53 PM) as far as I know his leg ends here... lol :P
@  MTH2014 : (22 November 2017 - 04:53 PM) @Tripack :D :wub:
@  Tripack : (22 November 2017 - 04:52 PM) Lol uncle

Photo

DIY iCustom Martingale EA

EA code expert advisor martingale binary option iCustom MT4

  • Please log in to reply
276 replies to this topic

#1 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 14 February 2016 - 11:00 AM

*
POPULAR

Hey Guys

 

You may have a favourite MT4 indicator that you use.

It maybe a source code ( mq4 file) or it maybe an .ex4 file.

 

You maybe able to code your indicator into an expert advisor using my iCustom Template.

 

I will use BinaryCommodo.ex4 as an iCustom example :

 

iCustom(NULL, 0, "BinaryComodo", first number ,second number)

 

Make sure indi name is surrounded by " and ".

The first number after the indicator name refers to buffer number of indicator which you can find using mt4 data window. For example in the case of BinaryCommodo, the up arrow is Buffer 0. 

The second number after the indicator name refers to trade entry. In the case of BinaryCommodo, we enter trade as soon as arrow

appears so this number is 0. If you enter trade at start of candle following arrow then use 1.

 

So our expression for BUY is

 

iCustom(NULL, 0, "BinaryComodo",0,0)

 

In the case of a SELL data window reveals sell arrow is Buffer 1 , so expression becomes

 

(iCustom(NULL, 0, "BinaryComodo", 1, 0)

 

Attached File  Arrow Buffers.png   50.2KB   111 downloads

 

All you need to do is decide what the two numbers are after the indicator name in the case of buy 

and in the case of sell.

Simply change indicator name and the numbers in the template.

Hopefully the screenshots help to make it clearer.

Each line of code contains indicator name and the two numbers TWICE, so remember to amend both.

Attached File  Amend EA Code Here.png   349.2KB   96 downloads

 

Attached File  iCustom Marty EA Template.mq4   11.15KB   735 downloads

 


  • singu, skyler, green777 and 11 others like this

#2 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 14 February 2016 - 11:08 AM

A little bit about EA Settings

 

NextOpenTradeAfterBars :  Set to 5 can help avoid waterfalls. 

Set to 1 means if conditons are met then candle can be traded.

 

MM Martingale Start : This is your lot/bet size. Some brokers use lot some use amount

 

MM Martingale Loss Factor : 2 means double bet size.

You can use fractions too.

 

MM Martingale Restart Losses : VERY IMPORTANT : SET to FALSE to use Martingale.

This means in case of loss, EA will trade next martingale step and not go back to start bet 

size.

VERY IMPORTANT : SET to TRUE to DISABLE Martingale ie using fixed bet sizes.

 

You can pick which days you want to trade. Pro trades especially hate fridays and

some avoid monday mornings too.

 

Please demo first 

 

Attached File  iCustomMarty Ea Settings.png   48.37KB   35 downloads


  • singu, emo, lokopata and 4 others like this

#3 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 14 February 2016 - 05:06 PM

Hey Guys

 

iCustom() is a MQ4L function that allows EA to access your Custom Indicators buffers ( arrows ) without having to re-write the indicator code.

EA needs the compiled ( .exe file ) to be in the Indicators folder of MT4.

 

 

 

 


  • singu, emo, lokopata and 1 other like this

#4 lokopata

lokopata

    Member

  • Members
  • PipPip
  • 44 posts

Posted 14 February 2016 - 06:01 PM

 
No words to thank you for your generosity !
 
this is a step forward in the evolution of EA ....
especially for those who is starting , like me!
I can say that from TODAY created my first EA.
 
this is wonderful , thank you for real.

  • singu and jimtang like this

#5 singu

singu

    Member

  • Members
  • PipPip
  • 318 posts

Posted 14 February 2016 - 06:48 PM

Thank you Jimtang. This is awesome. :)


  • jimtang likes this

#6 randy1953

randy1953

    Member

  • Banned
  • PipPipPip
  • 1,263 posts
  • LocationWashingston, USA

Posted 14 February 2016 - 09:21 PM

What a great idea man you are so cool..Mr. Cool man thanks!!

:)


  • jimtang likes this

#7 downtrend

downtrend

    Member

  • Members
  • PipPip
  • 16 posts

Posted 14 February 2016 - 11:03 PM

Jim doesn't replies to the private messages some times , apart from that he is a great man :D just joking :D


  • jimtang likes this

#8 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 15 February 2016 - 03:24 AM

Thanks for your comments guys.

David has a strategy tester template where you put in your iCustom() indicator.
This gave me an idea.
What if I could do the same with an EA template ?
So guys I feel I must thank David for an excellent idea!!

The reason I bring this up is because my BO EA template will not backtest in mt4 strategy tester.
To backtest use David's tester.
So guys you now have excellent trading tools to help fight those brokers!!
  • andreatrading likes this

#9 paulhinhobsb

paulhinhobsb

    Member

  • Members
  • PipPip
  • 40 posts
  • LocationBrasil

Posted 15 February 2016 - 07:18 AM

He has not yet opened any order, what should I do?



#10 ktop1800

ktop1800

    Member

  • Members
  • PipPip
  • 93 posts

Posted 15 February 2016 - 08:08 AM

Where should i out this iCustom Marty EA Template.mq4???  in the indicator folder or template???



#11 ktop1800

ktop1800

    Member

  • Members
  • PipPip
  • 93 posts

Posted 15 February 2016 - 08:10 AM

And how can ones make a martingale to follow after a loss of  each candle ?



#12 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 15 February 2016 - 08:29 AM

The template is essentially iCustom BinaryCommodo EA, since I used this indicator as an example.

He has not yet opened any order, what should I do?

It does work if you want to trade with BinaryCommodo !

i checked it quickly again on a M1 timeframe.

Recommended use is m5 chart and 15 min expiry.

 

Attached File  USDJPYboM1.png   156.34KB   74 downloads

 

Make sure BinaryCommodo.exe is in indicator folder of mt4.

 

 

Attached File  BinaryComodo.ex4   8.74KB   225 downloads

 



#13 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 15 February 2016 - 08:31 AM

Where should i out this iCustom Marty EA Template.mq4???  in the indicator folder or template???

I see name is confusing.

It is an EA so put in Expert Advisers.



#14 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 15 February 2016 - 08:32 AM

And how can ones make a martingale to follow after a loss of  each candle ?

NextOpenTradeAfterbars set to 1.



#15 ktop1800

ktop1800

    Member

  • Members
  • PipPip
  • 93 posts

Posted 15 February 2016 - 11:28 AM

Sorry to bother MR Jimtang......... could you please explain how i can make an EA with xb4d  ( attached are the indicator with  using your    iCustom Marty EA Template.mq4 

Attached Files

  • Attached File  Omos.ex4   46.96KB   95 downloads


#16 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 15 February 2016 - 11:54 AM

Sorry to bother MR Jimtang......... could you please explain how i can make an EA with xb4d  ( attached are the indicator with  using your    iCustom Marty EA Template.mq4 

cannot open file 'C:\Users\.......................................................................................\MQL4\indicators\xb4d.ex4' [2]

 

I apply your Omos.ex4 indicator to chart.

Error shows up in terminal.

Think xb4d.ex4 file is needed too.



#17 ktop1800

ktop1800

    Member

  • Members
  • PipPip
  • 93 posts

Posted 15 February 2016 - 12:46 PM

jimtang...... attached is the xb4d mq4 file .......use period 5

Attached Files



#18 ktop1800

ktop1800

    Member

  • Members
  • PipPip
  • 93 posts

Posted 15 February 2016 - 01:11 PM

trade as to be taken after the super signal channel  arrow appear then wait for xb4d to change color to  lime for  call and red for put at the  beginning of the second bar

Attached Files



#19 jimtang

jimtang

    Member

  • Members
  • PipPip
  • 442 posts

Posted 15 February 2016 - 01:13 PM

jimtang...... attached is the xb4d mq4 file .......use period 5

ktop1800  you have so many requests.

Where do you get your indicator, so many !!!!!!!!!!!!!!

Anyway I need more info.

When do you take the trade ?

Shift 1 or Shift 0 ?

 

put it another way, 

 

Do you take trade as soon as arrow appears ( shift 0)

or Do you trade candle immediately candle with signal ( shift 1 ) ???

What expiry do you want ?

How many marty steps ?

Give me this info and I will apply it to my DIY template.



#20 ktop1800

ktop1800

    Member

  • Members
  • PipPip
  • 93 posts

Posted 15 February 2016 - 01:31 PM

RULES:

Call......
1. Super Signal Channel give alert signal
2. Wait until the xb4d change to ( LIME ) bar
3. Place a CALL at the close of the Candle

Put.......
1. Super Signal Channel give alert signal
2. Wait for the xb4d to change to ( BLACK ) bar
3. Place a PUT at the close of the Candle







Also tagged with one or more of these keywords: EA, code, expert advisor, martingale, binary option, iCustom, MT4

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


USA REGULATION NOTICE: There are many binary options companies which are not regulated within the United States. Most of these offshore companies are not supervised, connected or affiliated with any of the regulatory agencies such as the Commodity Futures Trading Commission (CFTC), National Futures Association (NFA), Securities and Exchange Commission (SEC) or the Financial Industry Regulatory Authority (FINRA).

It is our STRONG opinion that you do not operate with any unregulated brokerage firm as they may steal or try to scam you out of every dime you have. Please take notice that any unregulated trading activity by U.S. Citizens should be considered unlawful.

Risk Disclosure: Binary Options Edge does not accept any liability for loss or damage as a result of reliance on the information contained within this website; this includes education material, price quotes and charts, and analysis. Please be aware of the risks associated with trading the financial markets; never invest more money than you can risk losing. The risks involved in trading binary options are high and may not be suitable for all investors. Binary Options Edge doesn't retain responsibility for any trading losses you might face as a result of using the data hosted on this site. The data and quotes contained in this website are not provided by exchanges but rather by market makers. So prices may be different from exchange prices and may not be accurate to real time trading prices. They are supplied as a guide to trading rather than for trading purposes.