Fruitfella / ROBOT-binary

Membuat robot opsi biner yang profitable dan rendah resiko
79 stars 115 forks source link

MARTINGALE 2X C0MPOUND 5 X #48

Open ubanemas opened 7 years ago

ubanemas commented 7 years ago

2017-08-01 08_54_51-greenshot 2017-08-01 08_53_41-greenshot

MAS help, aku mau bikin MM dengan rule, jika win maka dia compound misal 5x compund kembali ke stake awal, nah klo loss dia marti misal setelah 2x loss dia kembali ke stake awal, yang terjadi di MM ini ketika dia loss yg pertama dia langsung marti sdh bener tapi klo win dan loss belum 2x dia nunggu 2 x baru dia marti lagi please solusinya thanks.....itu level marti sengaja ta bikin 11x buat ngetes aja

ubanemas commented 7 years ago

pengennya setiap kali loss dia harus langsung marti, setelah marti marti 2x dia kembali ke stake awal, klo win langsung di compound (ambil dari payout) dan ada maksimal compound berapa kalinya.....thanks....

Fruitfella commented 7 years ago

Sorry lg gak bisa kasih gambar. kira2 begini : di mainblock (1), misal parameternya begini :

set Target_profit to 100 set Stop_loss to 100 set Initial_stake to 1 set Stake to Initial_stake set Marti_factor to 1.04 set Marti_level to 2 set Comp_level to 5

pasang variabel Stake di Define Trade Options : stake, pada mainblock (1)

di mainblock (4),

change Total_profit by [Contract detail : profit]

if [Result is Win] do change Win_count by 1 ..... set Loss_count to 0 ..... if Win_count > Comp_level ..... do set Stake to Initial_stake ........... set Win_count to 0 ..... else change Stake by [Contract detail : profit] else change Loss_count by 1 ..... set Win_count to 0 ..... if Loss_count > Marti_level ..... do set Stake to Initial_stake ........... set Loss_count to 0 ..... else change Stake by Stake x _Marti_factor_

if Total_profit >= Target_profit do print "Target profit reached!" else if Total_profit <= [-] Stop_loss do print "Stop Losses!" else [Trade Again]