Results 1 to 10 of 74

Thread: Martingale Lover Coding

Threaded View

  1. #1
    Member wahaji will become famous soon enough wahaji will become famous soon enough wahaji's Avatar
    Join Date
    Sep 2017
    Posts
    629
    Thanks
    62
    Thanked 184 Times in 123 Posts
    SubscribeSubscribe
    subscribed 0

    Martingale Lover Coding

    Here let's join for martingale lovers, let's talk about coding about martingale.

    As we know the general way martingale is to double the lot 2 times, but in its development this way more and more variations. Well there are often forgotten in our attention in this system, that is how to menclose position that is floating. I know there are 2 ways, namely:
    1. Accumulated profit (this way is too dangerous when slippage occurs)
    2. Trailing TP (this is the safest way in close position)

    If for the accumulation of profit coding like this:

    PHP Code:
    if(profit>=tp_in_money|| a>0
       {
          
    closeall();
          
    closeall();
          
    closeall();
          
    a++;
          if(
    total()==0a=0
    where tp_in_money is an extern double, nah a less know too, please correct me if I am wrong.

    Well that's the problem I am coding for TP trailing that can be set for each level. For example:

    In the input menu like this

    TP 1 = 5
    TP 2 = 10
    TP 3 = 16
    TP 4 = 21
    TP 5 = 23

    So when level 2 hit, then level 2 modify TP to 10 pips while level 1 TP it in modif to TP which equal to level 2
    Then When level 3 hit, then level 3 modify TP to 16 pips while level 1 and 2 TP it in modif to TP same with level 3
    so on .......

    Coding is really confused, about how the master is here, can you help me ???

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  2. The Following 11 Users Say Thank You to wahaji For This Useful Post:

    Alizahid (2020-10-20), amir2880 (2018-03-21), bahi00 (2020-10-19), Boss12 (2020-10-19), CJ7 (2020-10-20), hasna (2018-02-28), Kanwal (2020-10-19), MNA (2020-10-20), munich (2018-02-28), raheel00 (2020-10-19), yandri (2018-02-28)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Currently Active UsersCurrently Active Users

There are currently users online. members and guests

Forex Forum India | Forex Community Place Statistics Forex Forum India Statistics

Most users ever online was .

Welcome to our newest member,

Threads:

Posts:

Member: