Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Martingale() {
- var buyed = localStorage.getItem("buyed");
- var profit_amount = localStorage.getItem("profit_amount");
- var start_lot = localStorage.getItem("start_lot");
- var current_lot = localStorage.getItem("current_lot");
- var direction = localStorage.getItem("direction");
- getTime();
- if (serverTime.getSeconds() == 26) {
- if (buyed == "false") {
- if (profit_amount == current_lot) {
- console.warn("Tét visszajár, újrapróbálkozás");
- chrome.notifications.create("", {
- type: "basic",
- iconUrl: "img/logo_w.png",
- title: "IQ Option bot",
- message: "Tét visszajár, újrapróbálkozás"});
- buyActive();
- };
- if (profit_amount > current_lot && profit_amount != current_lot) {
- localStorage.setItem("current_lot", start_lot);
- console.warn("Nyert")
- chrome.notifications.create("", {
- type: "basic",
- iconUrl: "img/logo_w.png",
- title: "IQ Option bot",
- message: "Nyert"});
- if (direction == "call") {
- localStorage.setItem("direction", "put");
- }
- else {
- localStorage.setItem("direction", "call");
- };
- buyActive();
- };
- if (profit_amount == 0) {
- localStorage.setItem("current_lot", current_lot * 2.5);
- console.warn("Vesztett, tét emelés");
- chrome.notifications.create("", {
- type: "basic",
- iconUrl: "img/logo_w.png",
- title: "IQ Option bot",
- message: "Vesztett, tét emelés"});
- if (direction == "call") {
- localStorage.setItem("direction", "put");
- }
- else {
- localStorage.setItem("direction", "call");
- };
- buyActive();
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment