Jump to content


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


Toggle shoutbox The Traders Chat Open the Shoutbox in a popup

@  traderpusa : (17 November 2019 - 03:10 AM) Ned has arisen from the death lol
@  neddihrehat : (16 November 2019 - 11:16 PM) Yeah people sometimes mistakes Shout for Search. :P
@  teknews : (14 November 2019 - 03:24 PM) ups...is not search :) haha :)
@  teknews : (14 November 2019 - 03:24 PM) pt pro_fx
@  kalc : (13 November 2019 - 01:34 PM) :) :) :)
@  nkotb6 : (13 November 2019 - 12:15 PM) Happy green pips!
@  wags : (13 November 2019 - 07:46 AM) whassup girls
@  nkotb6 : (13 November 2019 - 01:57 AM) :lol:
@  Tripack : (12 November 2019 - 01:02 PM) :D
@  kalc : (12 November 2019 - 05:52 AM) :ph34r:
@  kalc : (12 November 2019 - 05:52 AM) top right fellas, top right...
@  lecharn : (11 November 2019 - 08:14 PM) hubba hubba
@  traceydexmon : (09 November 2019 - 02:27 PM) second
@  Kinkell : (08 November 2019 - 12:38 PM) rockingale
@  Seahjiashen : (06 November 2019 - 03:20 AM) vic
@  traderpusa : (04 November 2019 - 03:35 AM) dude, the search function is top right.
@  kidang : (04 November 2019 - 03:20 AM) bb
@  kidang : (04 November 2019 - 03:15 AM) bolingers band
@  traderpusa : (01 November 2019 - 09:26 AM) yes it's NFP
@  nkotb6 : (01 November 2019 - 06:23 AM) @traderpusa it is NFP day today

Photo

DIY iCustom Martingale EA

EA code expert advisor martingale binary option iCustom MT4

  • Please log in to reply
334 replies to this topic

#41 lokopata

lokopata

    Member

  • Members
  • PipPip
  • 44 posts

Posted 17 February 2016 - 07:23 AM

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)

 

attachicon.gifArrow Buffers.png

 

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.

attachicon.gifAmend EA Code Here.png

 

attachicon.gifiCustom Marty EA Template.mq4

 

 

Please jimtang

I have a doubt:

to open eyesores after closing the candle with arrow

I change the point A, B , C , D to , 1 ??

or only the B, D ?

Thank you.

J8NTeBl.png?1


  • Battery likes this

#42 singu

singu

    Member

  • Members
  • PipPip
  • 444 posts

Posted 17 February 2016 - 07:31 AM

Sorry slip of the finger

 

I meant Great Stuff SINGU !!!!!!!

 

No problem Jimtang. You are forgiven. haha :)



#43 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 17 February 2016 - 08:47 AM

Please jimtang

I have a doubt:

to open eyesores after closing the candle with arrow

I change the point A, B , C , D to , 1 ??

or only the B, D ?

Thank you.

J8NTeBl.png?1

Hey Guys

 

You need to amend all 4 (a,b,c and d)

 

A & B make up call code and are the same.

 

C & D make up put rules and are the same.

 

Be careful not to delete punctuation marks.

 

In lokopata's case, he wants to trade candle shift 1 ( trade next candle [after candle with arrow] )

So yes lokopata, all 4 have to say 1.


  • lokopata and mholgekar1 like this

#44 lokopata

lokopata

    Member

  • Members
  • PipPip
  • 44 posts

Posted 17 February 2016 - 09:08 AM

Thank You



#45 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 17 February 2016 - 10:15 AM

Attached File  Binary Reaper v3.0.ex4   12.21KB   141 downloads

 

Many of you have heard of Binary Reaper Indicator.

I will use it to give you another example

Suggested apply to M5 timeframe.

Trade as soon as arrow appears ( ie shift =0 )

Expiry about 10 minutes or so.

 

BUY arrow is buffer 0

 

SELL arrow is buffer 1

 

      //Binary Option Call
     if(iCustom(NULL, 0, "BinaryReaper v3.0",0,0)> .0000000001 && iCustom(NULL, 0, "BinaryReaper v3.0", 0, 0) < 99999999)  
 
 
   //Binary Option Put
   if(iCustom(NULL, 0, "BinaryReaper v3.0", 1, 0) > .0000000001 && iCustom(NULL, 0, "BinaryReaper v3.0", 1, 0) < 99999999)
 
Attached File  iCustom Marty EA Template BinaryReaper v3.0.mq4   11.17KB   228 downloads

 



#46 rmretifica

rmretifica

    Member

  • Members
  • PipPip
  • 38 posts

Posted 17 February 2016 - 06:36 PM

After all you have done , where to save ?



#47 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 04:34 AM

After all you have done , where to save ?

This is an EA so save into Expert Advisors Folder.



#48 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 06:07 AM

Attached File  HF_BB.ex4   21.98KB   113 downloads

 

Hey Guys

 

Many of you will know HolyFire`s HF_BB.ex4 Indicator.

The default settings are BB_Period 20 and BB_Deviations 2.5.

 

We can put this into DIY iCustom Template to produce an EA.

I use this example because it highlights an important point.

Following my method we are using the indicator in its DEFAULT Settings.

 

There is a way to change parameters such as period and deviation but I have not worked it out yet.

( This is why I cannot help ktop1800 )

So until then here is iCustom HF_BB.ex4 in EA with default settings of 20 and 2.5.

Please note Buy Buffer = 0 and Sell  Buffer = 1.

We trade candle shift = 1

 

   //Binary Option Call
     if(iCustom(NULL, 0, "HF_BB", 0,1)> .0000000001 && iCustom(NULL, 0, "HF_BB", 0, 1) < 99999999)  
 
   //Binary Option Put
   if(iCustom(NULL, 0, "HF_BB",  1, 1) > .0000000001 && iCustom(NULL, 0, "HF_BB",  1, 1) < 99999999)
Attached File  iCustom Marty EA Template HF_BB.mq4   11.13KB   143 downloads
 
 
( PS This is the exact reason I cannot help ktop1800 as apart from complicated coding, ktop1800 wanted parameters changed )


#49 dragonfly617

dragonfly617

    Member

  • Members
  • PipPip
  • 13 posts

Posted 18 February 2016 - 07:11 AM

jimtang

 
Hello there;
In addition to expert consultants for indakt?
expiration date will be 15 minutes.
I'm sorry for my english ass.
boss indactr

 

https://drive.google...iew?usp=sharing



#50 paulhinhobsb

paulhinhobsb

    Member

  • Members
  • PipPip
  • 40 posts
  • LocationBrasil

Posted 18 February 2016 - 07:37 AM

 

attachicon.gifHF_BB.ex4

 

Hey Guys

 

Many of you will know HolyFire`s HF_BB.ex4 Indicator.

The default settings are BB_Period 20 and BB_Deviations 2.5.

 

We can put this into DIY iCustom Template to produce an EA.

I use this example because it highlights an important point.

Following my method we are using the indicator in its DEFAULT Settings.

 

There is a way to change parameters such as period and deviation but I have not worked it out yet.

( This is why I cannot help ktop1800 )

So until then here is iCustom HF_BB.ex4 in EA with default settings of 20 and 2.5.

Please note Buy Buffer = 0 and Sell  Buffer = 1.

We trade candle shift = 1

 

   //Binary Option Call
     if(iCustom(NULL, 0, "HF_BB", 0,1)> .0000000001 && iCustom(NULL, 0, "HF_BB", 0, 1) < 99999999)  
 
   //Binary Option Put
   if(iCustom(NULL, 0, "HF_BB",  1, 1) > .0000000001 && iCustom(NULL, 0, "HF_BB",  1, 1) < 99999999)
 
 
( PS This is the exact reason I cannot help ktop1800 as apart from complicated coding, ktop1800 wanted parameters changed )

 

 

What better time?



#51 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 08:08 AM

What better time?

Use BO_Expiry is settings to change expiry time of trade !!



#52 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 08:40 AM

jimtang

 
Hello there;
In addition to expert consultants for indakt?
expiration date will be 15 minutes.
I'm sorry for my english ass.
boss indactr

 

https://drive.google...iew?usp=sharing

Hey dragonfly617

 

So you need help making iCustom EA of Boss Indicator ?

It took some detective work to decide on the buffers !!

From memory, use M15 chart and 15 min expiry.

You enter as soon as you get a signal.

So Buy Buffer = 0

Sell buffer = 1

Enter shift = 0

 

   //Binary Option Call
     if(iCustom(NULL, 0, "bs", 0,0)> .0000000001 && iCustom(NULL, 0, "bs", 0, 0) < 99999999)  
 
   //Binary Option Put
   if(iCustom(NULL, 0, "bs",  1, 0) > .0000000001 && iCustom(NULL, 0, "bs",  1, 0) < 99999999)
 

 

Once again note we are running using DEFAULT Boss Indicator settings !!!!

( I checked EA quickly on a M1 chart but recommended use M15)

Attached File  iCustom Boss Indicator.png   174.73KB   8 downloads

 

Attached File  iCustom Marty EA Template bs.mq4   11.12KB   92 downloads

 

Attached File  bs.ex4   13.32KB   103 downloads



#53 paulhinhobsb

paulhinhobsb

    Member

  • Members
  • PipPip
  • 40 posts
  • LocationBrasil

Posted 18 February 2016 - 10:04 AM

You can create an Expert to this indicator? M5 for 5 minutes expiration. Thank you!

Attached Files



#54 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 10:26 AM

You can create an Expert to this indicator? M5 for 5 minutes expiration. Thank you!

 

 

 

Shift 0 or shift 1

Entry as soon as arrow ( 0 ) or entry candle after (1) ?????



#55 paulhinhobsb

paulhinhobsb

    Member

  • Members
  • PipPip
  • 40 posts
  • LocationBrasil

Posted 18 February 2016 - 10:36 AM

Shift 0 or shift 1

Entry as soon as arrow ( 0 ) or entry candle after (1) ?????

Entry as soon as arrow ( 0 ) 



#56 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 11:46 AM

You can create an Expert to this indicator? M5 for 5 minutes expiration. Thank you!

 

 

Shift 0 or shift 1

Entry as soon as arrow ( 0 ) or entry candle after (1) ?????

 

 

Entry as soon as arrow ( 0 ) 

 


Hey paulhinhobsb

 

Buy Buffer = 0 

Sell Buffer = 1

Shift = 0

 

The expressions become

 

   //Binary Option Call
     if(iCustom(NULL, 0, "Forexprofitsupreme Signal",0,0)> .0000000001 && iCustom(NULL, 0, "Forexprofitsupreme Signal", 0, 0) < 99999999)  
 
 
   //Binary Option Put
   if(iCustom(NULL, 0, "Forexprofitsupreme Signal", 1, 0) > .0000000001 && iCustom(NULL, 0, "Forexprofitsupreme Signal", 1, 0) < 99999999)
 
 
 
Attached File  Forexprofitsupreme Signal.png   50.08KB   31 downloads
 
I gave it a quick test not neccessarily on the correct timeframe !
Do not forget to check settings eg BO expiry of 300 seconds
 
Good luck
 


#57 investiclic

investiclic

    Member

  • Members
  • PipPip
  • 95 posts
  • LocationSao Paulo - Brasil

Posted 18 February 2016 - 02:45 PM

 

Hey paulhinhobsb

 

Buy Buffer = 0 

Sell Buffer = 1

Shift = 0

 

The expressions become

 

   //Binary Option Call
     if(iCustom(NULL, 0, "Forexprofitsupreme Signal",0,0)> .0000000001 && iCustom(NULL, 0, "Forexprofitsupreme Signal", 0, 0) < 99999999)  
 
 
   //Binary Option Put
   if(iCustom(NULL, 0, "Forexprofitsupreme Signal", 1, 0) > .0000000001 && iCustom(NULL, 0, "Forexprofitsupreme Signal", 1, 0) < 99999999)
 
 
 
 
I gave it a quick test not neccessarily on the correct timeframe !
Do not forget to check settings eg BO expiry of 300 seconds
 
Good luck
 

 

 
Hello Jintang, thank you for sharing the matrix for construction of EA. So everyone who has an indicator that think and very good can make your EA and share here with all the results. I just have a doubt on the EA opening configuration as you said the EA should open in the window of the signal and not the opening of the next candle should use the configurations:
Buy Buffer = 0
Sell Buffer = 1
Shift = 0
Please you could make a print only this part of where this writing these codes within the iCustom Marty EA Template.
 
Tank you !!


#58 lokopata

lokopata

    Member

  • Members
  • PipPip
  • 44 posts

Posted 18 February 2016 - 02:49 PM

 
it is possible to add a function of second limit for opening of trade ?
 
example : the candle closes with arrow , and the entry at the beginning of the next candle with 03 second timeout to open the order. move from 3 seconds not open the order.
 
 
Sera that someone with more experience could add this function ???
 
Thank You!


#59 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 03:12 PM

 

 
Hello Jintang, thank you for sharing the matrix for construction of EA. So everyone who has an indicator that think and very good can make your EA and share here with all the results. I just have a doubt on the EA opening configuration as you said the EA should open in the window of the signal and not the opening of the next candle should use the configurations:
Buy Buffer = 0
Sell Buffer = 1
Shift = 0
Please you could make a print only this part of where this writing these codes within the iCustom Marty EA Template.
 
Tank you !!

 

Buy and sell buffers will be different for different indicators.

It is not always 0 or 1. 

Use Data Window of MT4 to find the buffers for different indicators.

 

Shift 0 is immediate trade when arrow appears.

 
attachicon.gifiCustom Marty EA Template Forexprofitsupreme Signal.mq4 is a source code. You can read it using mt4 !


#60 jimtang

jimtang

    Member

  • Members
  • PipPipPip
  • 526 posts

Posted 18 February 2016 - 03:14 PM

 

 
it is possible to add a function of second limit for opening of trade ?
 
example : the candle closes with arrow , and the entry at the beginning of the next candle with 03 second timeout to open the order. move from 3 seconds not open the order.
 
 
Sera that someone with more experience could add this function ???
 
Thank You!

 

Any help will be appreciated!!


  • lokopata likes this





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.