Trading the forex fully automated martingale

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
I briefly skimmed through it

I have zero interest in that

TRADES ARE OPEN

MY IGNORE LIST:
85CENTSODA
CAESER
FREEDICKPILLS
VARGREALLYDIDNOTHINGWRONG
STARSPANGLED
DEVOUTMUSLIM
CUNTLER
OXYJEN


Trades are open and the markets are open

Remain alert and try not to act stupid

011.png
 
Last edited by a moderator:
Maybe this website can start offering a new service where you could come here and pay $5 and argue with a tranny for 5 minutes.
That reminds me, you owe $10

I was long on a penny stock game company called take. They had this massive cheating scandal where one of their players was basically set to always lose. The fact that they were rigging games made their stock price become essentially worthless. lost about 31k in 5 minutes rolling the dice on that shitty game company.
With respect, those are rookie numbers. Bossman Jack can lose that much in 3 rolls of the dice inside 10 seconds.
 
Last edited by a moderator:
  • Winner
Reactions: Free Dick Pills
//gogo
double wantlots=0;
double baselots=0.01;

double mx1=1;
double mx2=2;

if( pos>10 ) wantlots+=(baselots*mx2);
if( pos>12 ) wantlots+=(baselots*mx2);
if( pos>14 ) wantlots+=(baselots*mx2);
if( pos>16 ) wantlots+=(baselots*mx2);
if( pos>18 ) wantlots+=(baselots*mx2);
if( pos>20 ) wantlots+=(baselots*mx2);
if( pos>22 ) wantlots+=(baselots*mx2);
if( pos>24 ) wantlots+=(baselots*mx2);
if( pos>26 ) wantlots+=(baselots*mx2);
if( pos>28 ) wantlots+=(baselots*mx2);
if( pos>30 ) wantlots+=(baselots*mx2);
if( pos>32 ) wantlots+=(baselots*mx2);
if( pos>34 ) wantlots+=(baselots*mx2);
if( pos>36 ) wantlots+=(baselots*mx2);
if( pos>38 ) wantlots+=(baselots*mx2);
if( pos>40 ) wantlots+=(baselots*mx2);
if( pos>42 ) wantlots+=(baselots*mx2);
if( pos>44 ) wantlots+=(baselots*mx2);
if( pos>46 ) wantlots+=(baselots*mx2);
if( pos>48 ) wantlots+=(baselots*mx2);
if( pos>50 ) wantlots+=(baselots*mx2);
if( pos>55 ) wantlots+=(baselots*mx2);
if( pos>60 ) wantlots+=(baselots*mx2);
if( pos>65 ) wantlots+=(baselots*mx2);
if( pos>70 ) wantlots+=(baselots*mx2);
if( pos>75 ) wantlots+=(baselots*mx2);
if( pos>80 ) wantlots+=(baselots*mx2);
if( pos>85 ) wantlots+=(baselots*mx2);
if( pos>90 ) wantlots+=(baselots*mx2);
if( pos>95 ) wantlots+=(baselots*mx2);
if( pos>100 ) wantlots+=(baselots*mx2);
if( pos>105 ) wantlots+=(baselots*mx2);


//Print("wantlots=",wantlots);
//wantlots=0;

if(GlobalVariableCheck("DISABLED")) wantlots=0;
//if(AccountMargin()==0 && pos<40) wantlots=0;
//if(AccountMargin()==0) wantlots=0;
//GlobalVariableDel("DISABLED");

if(AccountFreeMargin()<(AccountBalance()*0.10)) wantlots=0;
 
//gogo
double wantlots=0;
double baselots=0.01;

double mx1=1;
double mx2=2;

if( pos>10 ) wantlots+=(baselots*mx2);
if( pos>12 ) wantlots+=(baselots*mx2);
if( pos>14 ) wantlots+=(baselots*mx2);
if( pos>16 ) wantlots+=(baselots*mx2);
if( pos>18 ) wantlots+=(baselots*mx2);
if( pos>20 ) wantlots+=(baselots*mx2);
if( pos>22 ) wantlots+=(baselots*mx2);
if( pos>24 ) wantlots+=(baselots*mx2);
if( pos>26 ) wantlots+=(baselots*mx2);
if( pos>28 ) wantlots+=(baselots*mx2);
if( pos>30 ) wantlots+=(baselots*mx2);
if( pos>32 ) wantlots+=(baselots*mx2);
if( pos>34 ) wantlots+=(baselots*mx2);
if( pos>36 ) wantlots+=(baselots*mx2);
if( pos>38 ) wantlots+=(baselots*mx2);
if( pos>40 ) wantlots+=(baselots*mx2);
if( pos>42 ) wantlots+=(baselots*mx2);
if( pos>44 ) wantlots+=(baselots*mx2);
if( pos>46 ) wantlots+=(baselots*mx2);
if( pos>48 ) wantlots+=(baselots*mx2);
if( pos>50 ) wantlots+=(baselots*mx2);
if( pos>55 ) wantlots+=(baselots*mx2);
if( pos>60 ) wantlots+=(baselots*mx2);
if( pos>65 ) wantlots+=(baselots*mx2);
if( pos>70 ) wantlots+=(baselots*mx2);
if( pos>75 ) wantlots+=(baselots*mx2);
if( pos>80 ) wantlots+=(baselots*mx2);
if( pos>85 ) wantlots+=(baselots*mx2);
if( pos>90 ) wantlots+=(baselots*mx2);
if( pos>95 ) wantlots+=(baselots*mx2);
if( pos>100 ) wantlots+=(baselots*mx2);
if( pos>105 ) wantlots+=(baselots*mx2);


//Print("wantlots=",wantlots);
//wantlots=0;

if(GlobalVariableCheck("DISABLED")) wantlots=0;
//if(AccountMargin()==0 && pos<40) wantlots=0;
//if(AccountMargin()==0) wantlots=0;
//GlobalVariableDel("DISABLED");

if(AccountFreeMargin()<(AccountBalance()*0.10)) wantlots=0;
Genius :story:
 
on a buy grid(like we are on now) pos=targ-ask;

on a sell grid, pos=bid-targ;

-------------------------------

please understand that i have always understood that there was only about a one in one million chance of success on this project and that i understood well that there would be many mistakes and failures.

i am fully prepared to lose everything, but i am also fully focused on the finish line.

notes: blue line = breakeven, white line = targ(et)

trades are open

012.png
 
Last edited:
Why do you have dozens of if statements all just doing wantlots+=(baselots*mx2) ?
as POS becomes larger, it tallies up a larger WANTLOTS value..

as the price spikes lower(on a buy grid) or higher (on a sell grid), two things happen..

1) the POS value becomes larger, which causes (2) the WANTLOTS becomes larger.

WANTLOTS is the TOTAL LOTS THAT I WANT TO BE IN PLAY...

curlots = CURRENTLOTS

rqlots is how many i want to execute right now.

rqlots=wantlots-curlots

if (rqlots>=baselots) then execute/open a trade for baselots.

if it isnt obvious, if rqlots is less than baselots then no trades will be executed right now.
 
Last edited:
Why do you have dozens of if statements all just doing wantlots+=(baselots*mx2) ?
btw, i dont know if you are a programmer that is familiar with the "+=" stuff..

wantlots+=(baselots*mx2);

is the same as writing:

wantlots=wantlots+(baselots*mx2);

you can think of it as "shorthand for programmers", ..

--------------------

trades are open

013.png
 
Last edited:
  • Like
Reactions: eval()
as POS becomes larger, it tallies up a larger WANTLOTS value..

as the price spikes lower(on a buy grid) or higher (on a sell grid), two things happen..

1) the POS value becomes larger, which causes (2) the WANTLOTS becomes larger.

WANTLOTS is the TOTAL LOTS THAT I WANT TO BE IN PLAY...

curlots = CURRENTLOTS

rqlots is how many i want to execute right now.

rqlots=wantlots-curlots

if (rqlots>=baselots) then execute/open a trade for baselots.

if it isnt obvious, if rqlots is less than baselots then no trades will be executed right now.
What I'm asking is, instead of checking every single if statement to increase wantlots, why not just increase wantlots by a factor of pos?
The block of if statements could be replaced by
C:
if (pos > 10 && pos < 50) wantlots += (baselots * mx2) * (ceil(temp_pos / 2) - 5);

else if (pos > 50 && pos < 110) wantlots += (baselots * mx2) * (ceil(temp_pos / 5) + 10);

Edit: disgusting one line if statements cuz I'm shmancy like that
 
Last edited:
What I'm asking is, instead of checking every single if statement to increase wantlots, why not just increase wantlots by a factor of pos?
The block of if statements could be replaced by
C:
if (pos > 10 && pos < 50) {
    double temp_pos = pos - 10;
    wantlots += (baselots * mx2) * ceil(temp_pos / 2);
}

if (pos > 50) {
    double temp_pos = pos - 50;
    wantlots += (baselots * mx2) * (ceil(temp_pos / 5) + 20);    // +20 for 10 < pos < 50
}

the short answer is that i prefer to do it the way that i am doing it.

i appreciate how you are doing it, but i prefer my way.

because the metatrader programmers IDE has the line number shown along the left side of the IDE, it makes it easier for me to figure out how many trades would be placed/executed if it were to go up to say sixty or 75 pos, for example.

i could not do that with your fancier version of the IF process.

also, i am not really interested to play this game of who is the best programmer and could i have done something another way?

i only want to trade martingale, period.

if you want to ask what my code means, assuming that i showed it to you, as i did with my RISK MODEL, then yes you can ask what it does, but i am not interested to have you show the class fifteen other ways that it could have been coded.

regards.


shell.png
 
//gogo
double wantlots=0;
double baselots=0.01;

double mx1=1;
double mx2=2;

if( pos>10 ) wantlots+=(baselots*mx2);
if( pos>12 ) wantlots+=(baselots*mx2);
if( pos>14 ) wantlots+=(baselots*mx2);
if( pos>16 ) wantlots+=(baselots*mx2);
if( pos>18 ) wantlots+=(baselots*mx2);
if( pos>20 ) wantlots+=(baselots*mx2);
if( pos>22 ) wantlots+=(baselots*mx2);
if( pos>24 ) wantlots+=(baselots*mx2);
if( pos>26 ) wantlots+=(baselots*mx2);
if( pos>28 ) wantlots+=(baselots*mx2);
if( pos>30 ) wantlots+=(baselots*mx2);
if( pos>32 ) wantlots+=(baselots*mx2);
if( pos>34 ) wantlots+=(baselots*mx2);
if( pos>36 ) wantlots+=(baselots*mx2);
if( pos>38 ) wantlots+=(baselots*mx2);
if( pos>40 ) wantlots+=(baselots*mx2);
if( pos>42 ) wantlots+=(baselots*mx2);
if( pos>44 ) wantlots+=(baselots*mx2);
if( pos>46 ) wantlots+=(baselots*mx2);
if( pos>48 ) wantlots+=(baselots*mx2);
if( pos>50 ) wantlots+=(baselots*mx2);
if( pos>55 ) wantlots+=(baselots*mx2);
if( pos>60 ) wantlots+=(baselots*mx2);
if( pos>65 ) wantlots+=(baselots*mx2);
if( pos>70 ) wantlots+=(baselots*mx2);
if( pos>75 ) wantlots+=(baselots*mx2);
if( pos>80 ) wantlots+=(baselots*mx2);
if( pos>85 ) wantlots+=(baselots*mx2);
if( pos>90 ) wantlots+=(baselots*mx2);
if( pos>95 ) wantlots+=(baselots*mx2);
if( pos>100 ) wantlots+=(baselots*mx2);
if( pos>105 ) wantlots+=(baselots*mx2);


//Print("wantlots=",wantlots);
//wantlots=0;

if(GlobalVariableCheck("DISABLED")) wantlots=0;
//if(AccountMargin()==0 && pos<40) wantlots=0;
//if(AccountMargin()==0) wantlots=0;
//GlobalVariableDel("DISABLED");

if(AccountFreeMargin()<(AccountBalance()*0.10)) wantlots=0;

Do you have an aversion to loops? Sort of looks like an Alex Mahan design. Very reminiscent of your technical style. Great coder.
 
  • Like
Reactions: tradecode
this is actually scaring me now.

014.png

Do you have an aversion to loops? Sort of looks like an Alex Mahan design. Very reminiscent of your technical style. Great coder.
Metatrader has an on-timer function that you can tell it to call it every so many milliseconds and I set it up for like 50 milliseconds so my code runs every 50 milliseconds for practical purposes..

My code does not wait for the next price tick to execute my bot.

My on timer function contains function calls to a lot of different things it goes through an entire State machine and at the end it delays for like 3 seconds because I like to have a delay in it it doesn't need to run non-stop hardcore full speed. A system like this doesn't like to run full speed especially when using the on timer function.. it just tends to clog up and bog down your computer in general if you're running way too fast. My state machine processes every 2 or 3 seconds which is more than plenty for me.

//gogo
double wantlots=0;
double baselots=0.01;

double mx1=1;
double mx2=3;

if( pos>10 ) wantlots+=(baselots*mx1);
if( pos>12 ) wantlots+=(baselots*mx1);
if( pos>14 ) wantlots+=(baselots*mx1);
if( pos>16 ) wantlots+=(baselots*mx2);
if( pos>18 ) wantlots+=(baselots*mx2);
if( pos>20 ) wantlots+=(baselots*mx2);
if( pos>22 ) wantlots+=(baselots*mx2);
if( pos>24 ) wantlots+=(baselots*mx2);
if( pos>26 ) wantlots+=(baselots*mx2);
if( pos>28 ) wantlots+=(baselots*mx2);
if( pos>30 ) wantlots+=(baselots*mx2);
if( pos>32 ) wantlots+=(baselots*mx1);
if( pos>34 ) wantlots+=(baselots*mx1);
if( pos>36 ) wantlots+=(baselots*mx1);
if( pos>38 ) wantlots+=(baselots*mx1);
if( pos>40 ) wantlots+=(baselots*mx1);
if( pos>42 ) wantlots+=(baselots*mx1);
if( pos>44 ) wantlots+=(baselots*mx1);
if( pos>46 ) wantlots+=(baselots*mx1);
if( pos>48 ) wantlots+=(baselots*mx1);
if( pos>50 ) wantlots+=(baselots*mx1);
if( pos>55 ) wantlots+=(baselots*mx1);
if( pos>60 ) wantlots+=(baselots*mx1);
 
Last edited by a moderator:
  • Informative
Reactions: eval()
Why don't you just go get a job, my friend?
Oh I don't know I can't seem to think of any reasons right now..

Trades are open

Screenshot_20241028-032828.png

Position closed

All trades are closed

Screenshot_20241028-042008.png

Anyways let's do it again.

Screenshot_20241028-043520.png

This thread is ready to go to the trash heap.

I have zero interest in this romper room website

well we dont know you, do you have some identifying information to prove you are credible?
I have a mole and a big patch of gray hair on my left testicle.
 
Last edited by a moderator:
So you're just gonna come in here and flex your gains, while not giving any of us an opportunity to share in the wealth? Honestly you're making me feel some type of way right now, and it's not a happy type of way.
So all of the sleepless nights that I spent pouring over these numbers and you were snug and your little bed...

Every time I win, I hope it makes you shit your pants.

I was always wondering about your pube hair color!
Okay fine I took you off of ignore status.

Just FYI my algo is now finished.

Screenshot_20241028-094928.png

I can't believe I haven't left this website yet.

From a technical perspective this shit hole is worthless.
 
Last edited by a moderator:
Back