Need help coding

 

New to coding and need some help

Idea is pretty basic

7/30 EMA cross on Hourlies

Entry- 10 pips after cross

Profit -30 pips

S/L - 25 pips

then a money management principle that is basic as well

start with 1 lot and if you win you stay at 1 lot...lose and go to 2 lots....then 3....then 4.....5 and so on

when you win you drop a lot so if you win on the 3rd you drop to 2 lots

like this

1 lot - loss

2 lots - loss

3 lots- loss

4 lots- win

3 lots- win

2 lots- loss

3 lots -win

2 lots -win

1 lot.......so on and so on

The idea is basic but i have absolutely no idea on how to code it. It has been working for me generally pretty well manually trading but id like to see the performance if it was to run 24/7

Thanks

 

Sounds interesting

Sounds interesting - a bit crazy - but crazy is best. But when do u stop?

You enter and then re-enter after tp or sl. So when do u stop re-entering?

when u are at 0 lots?

Why not then start with 2 lots?

But you can't specify number of lots if you want to do MM - as MM will then decide how many lots.

Maybe instead of lots you could do the risk factor in MM - as in

start with risk = 2%

loss risk 4%

loss risk 6%

 

i know its crazy

i know its crazy but ive found that it works....you only have to be right 40% of the time to be profitable.

I just re-enter on the next cross

When you get to 1 lot, you consistently stay at one lot until you lose again

 

thanks

I will post something soon, in a day or two.

 

Check private messages

hi jdsim1

Please check your private messages.

Thanks