Skip to content

Instantly share code, notes, and snippets.

@mbmaciel
Created December 12, 2022 15:17
Show Gist options
  • Save mbmaciel/bc21ab25c2e20c17d48970d468b8df00 to your computer and use it in GitHub Desktop.
Save mbmaciel/bc21ab25c2e20c17d48970d468b8df00 to your computer and use it in GitHub Desktop.
Apolo Bot
<xml xmlns="http://www.w3.org/1999/xhtml" collection="false"> <variables> <variable type="" id="QS=ouQJBf5H]x~To_8ze">Preço fixo inicial</variable> <variable type="" id="E]|c^|)8f.^/s^`fdM#+">Meta</variable> <variable type="" id="m03mC1E%O+o|Am!^g|^#">Preço</variable> <variable type="" id="Ed`a7JH9^TWCt!ySC^xg">Ultimo numero</variable> <variable type="" id="Qw^gf=EcG}:];w@STR$^">perde</variable> <variable type="" id="RtbZBV:n,P^{X5j(LLY:">Limite</variable> <variable type="" id="e9vz4q~MDz@e1$^%wMdO">numero de perdas para mudar estratégia</variable> <variable type="" id=".}!brj:3:*z[C#tf4p6k">ultimo numero estrategia perda</variable> <variable type="" id="dA[eBPfPviPAIq@rNo)e">tempo</variable> <variable type="" id="dpH7AC^zt#Cp2I(dVyjk">ultimo numero estrategia inicial</variable> </variables> <block type="trade" id="trade" collapsed="true" x="-388" y="-801"> <field name="MARKET_LIST">synthetic_index</field> <field name="SUBMARKET_LIST">random_index</field> <field name="SYMBOL_LIST">R_10</field> <field name="TRADETYPECAT_LIST">digits</field> <field name="TRADETYPE_LIST">overunder</field> <field name="TYPE_LIST">both</field> <field name="CANDLEINTERVAL_LIST">60</field> <field name="TIME_MACHINE_ENABLED">TRUE</field> <field name="RESTARTONERROR">TRUE</field> <statement name="INITIALIZATION"> <block type="variables_set" id="1Nw4%C(}zOH3oPbyMYOU" collapsed="true"> <field name="VAR" id="QS=ouQJBf5H]x~To_8ze" variabletype="">Preço fixo inicial</field> <value name="VALUE"> <block type="text_prompt_ext" id="9}rSEk8uZ3KN)5;z01lQ"> <mutation type="NUMBER"></mutation> <field name="TYPE">NUMBER</field> <value name="TEXT"> <shadow type="text" id=";*^a8_O;D[(F:!bVspCG"> <field name="TEXT">Defina seu valor de entrada</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="Vn`T7UPNPMaNR;06)?s`" collapsed="true"> <field name="VAR" id="E]|c^|)8f.^/s^`fdM#+" variabletype="">Meta</field> <value name="VALUE"> <block type="text_prompt_ext" id="(5p/eK11nKmE^2hrsT[("> <mutation type="NUMBER"></mutation> <field name="TYPE">NUMBER</field> <value name="TEXT"> <shadow type="text" id="S:oSPZYiA~nIw4T9*XpW"> <field name="TEXT">Defina sua Meta</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="t{7ieAV5~};yN{D0n[{n" collapsed="true"> <field name="VAR" id="RtbZBV:n,P^{X5j(LLY:" variabletype="">Limite</field> <value name="VALUE"> <block type="math_arithmetic" id="uR*NFp)[H=eOIlGS$uaY"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="$b(xsMWN4[g|TAnq*h6,"> <field name="NUM">1</field> </shadow> <block type="text_prompt_ext" id="o5L;pBHCz_N*4tq$;uCy"> <mutation type="NUMBER"></mutation> <field name="TYPE">NUMBER</field> <value name="TEXT"> <shadow type="text" id=":rO0vk:~n1~t7H6Lwr~L"> <field name="TEXT">Defina seu limite de perda</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="*G4$S3$L,kH~Rbc9~bR-"> <field name="NUM">-1</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="g[V$`azs5R(J+WKc3`+v" collapsed="true"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> <value name="VALUE"> <block type="variables_get" id="qSQma+HS6O$UnU]d{3%?"> <field name="VAR" id="QS=ouQJBf5H]x~To_8ze" variabletype="">Preço fixo inicial</field> </block> </value> <next> <block type="variables_set" id="EAd`^+ke{V?,h2x]C{YS" collapsed="true"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> <value name="VALUE"> <block type="math_number" id="o0+[EMoHDEQ]ngEe]Mh["> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="Jg-/-I}+)yRJPWK,nnSD" collapsed="true"> <field name="VAR" id="dA[eBPfPviPAIq@rNo)e" variabletype="">tempo</field> <value name="VALUE"> <block type="math_number" id="G@l%0/7[4F+;$hZ):ybw"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="K$=%0{otp^xS?T+)`x:U"> <field name="VAR" id="dpH7AC^zt#Cp2I(dVyjk" variabletype="">ultimo numero estrategia inicial</field> <value name="VALUE"> <block type="math_number" id="y:-2[$rkU=Q-uMETj7F("> <field name="NUM">6</field> </block> </value> <next> <block type="variables_set" id="*U/XfDWHiUEs4dGRx9`*"> <field name="VAR" id=".}!brj:3:*z[C#tf4p6k" variabletype="">ultimo numero estrategia perda</field> <value name="VALUE"> <block type="math_number" id="mlDbF^SRzTPF4OD%XbKb"> <field name="NUM">4</field> </block> </value> <next> <block type="variables_set" id="5qfro``8*!MZ|?nKfA^a"> <field name="VAR" id="e9vz4q~MDz@e1$^%wMdO" variabletype="">numero de perdas para mudar estratégia</field> <value name="VALUE"> <block type="math_number" id="m7-)vEV993aulqiDb~0U"> <field name="NUM">2</field> </block> </value> <next> <block type="variables_set" id="(pM|=lHBezn3aPl!sUK[" collapsed="true"> <field name="VAR" id="Ed`a7JH9^TWCt!ySC^xg" variabletype="">Ultimo numero</field> <value name="VALUE"> <block type="variables_get" id="WXkXlk9n7=qK(aF5c0iW"> <field name="VAR" id="dpH7AC^zt#Cp2I(dVyjk" variabletype="">ultimo numero estrategia inicial</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="SUBMARKET"> <block type="tradeOptions" id="G-.E[w;-iYgX=v+Iej6v"> <field name="DURATIONTYPE_LIST">t</field> <field name="CURRENCY_LIST">USD</field> <field name="BARRIEROFFSETTYPE_LIST">+</field> <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field> <value name="DURATION"> <block type="math_number" id="~G^:]=.b`!T9.Il_vkLS"> <field name="NUM">1</field> </block> </value> <value name="AMOUNT"> <block type="variables_get" id="GHoof-K;v4,+,}1=nqp_"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> </block> </value> <value name="PREDICTION"> <shadow type="math_number" id="EnaSnk;q##:Qu1UtssrS"> <field name="NUM">6</field> </shadow> <block type="variables_get" id="@x`0H|vs?c/Hrp01;S:b"> <field name="VAR" id="Ed`a7JH9^TWCt!ySC^xg" variabletype="">Ultimo numero</field> </block> </value> </block> </statement> </block> <block type="after_purchase" id="=je4%i4V)M=^d?d=_LBn" collapsed="true" x="339" y="-794"> <statement name="AFTERPURCHASE_STACK"> <block type="controls_if" id="@[W8J5$3$zUd`%8H7!qt" collapsed="true"> <value name="IF0"> <block type="contract_check_result" id="NX]l~hqR/w97{YNW0eb+"> <field name="CHECK_RESULT">loss</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="q8x7|7}L8^!m=4OHqRc_"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> <value name="VALUE"> <block type="math_arithmetic" id="EDV})a8{5tWI?58xk9Dl"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="GI%PmGG,]NMFv+?E(1z,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="0Lvg,d1QQ?#5)JOBbg[J"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> </block> </value> <value name="B"> <shadow type="math_number" id="ejl%B}!r8Vhr4uzY`^nE"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id=";m}v$vqO6E@_7wmgY,Zg" collapsed="true"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="k|aplL,GDpz$=b~erWb~" collapsed="true"> <field name="OP">AND</field> <value name="A"> <block type="contract_check_result" id="0v];+q8j|?Fbx0@X=PEu"> <field name="CHECK_RESULT">win</field> </block> </value> <value name="B"> <block type="logic_compare" id="vZ2NKyif-8W}/X8s:]:S"> <field name="OP">GTE</field> <value name="A"> <block type="total_profit" id="^H^K[zS5x#Uu~4Dad((^"></block> </value> <value name="B"> <block type="variables_get" id="B(TJPnRt$0rJ!3taDVl0"> <field name="VAR" id="E]|c^|)8f.^/s^`fdM#+" variabletype="">Meta</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="notify" id="a2NOR|x*wo/ceIt/fcNw" collapsed="true"> <field name="NOTIFICATION_TYPE">success</field> <field name="NOTIFICATION_SOUND">earned-money</field> <value name="MESSAGE"> <shadow type="text" id="c[gpSoh?r7!O$upyIJ)^"> <field name="TEXT">META ATINGIDA</field> </shadow> </value> </block> </statement> <value name="IF1"> <block type="contract_check_result" id="6QZ`}4Oe@;)xG.l.]:Rb" collapsed="true"> <field name="CHECK_RESULT">win</field> </block> </value> <statement name="DO1"> <block type="variables_set" id="/hh@uOvcY2WWGwk-Od-+" collapsed="true"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> <value name="VALUE"> <block type="variables_get" id="$HH*cOCV7qpP.XY?@au0"> <field name="VAR" id="QS=ouQJBf5H]x~To_8ze" variabletype="">Preço fixo inicial</field> </block> </value> <next> <block type="variables_set" id="%j8,NF;!AFiskw@ugxb9" collapsed="true"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> <value name="VALUE"> <block type="math_number" id="Le9@.fCDSI$.PIUR1Gyz"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="2t-F1Van1:#6E$/YuPG:" collapsed="true"> <field name="VAR" id="Ed`a7JH9^TWCt!ySC^xg" variabletype="">Ultimo numero</field> <value name="VALUE"> <block type="variables_get" id="$(_ny?4a|;mUD_Qj*IKT"> <field name="VAR" id="dpH7AC^zt#Cp2I(dVyjk" variabletype="">ultimo numero estrategia inicial</field> </block> </value> <next> <block type="trade_again" id="x9=m@umf@osZ-Q+y4/2T"></block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="Jhh[q,pl(LE12NctQ,*D"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_operation" id="imjZCKX@^?Q`{X`66,h0" collapsed="true"> <field name="OP">AND</field> <value name="A"> <block type="contract_check_result" id="hhX]nN-Z]W;f,wF{}//t"> <field name="CHECK_RESULT">loss</field> </block> </value> <value name="B"> <block type="logic_compare" id="%H(OZ,a_l[i@L@+fx*PC"> <field name="OP">LTE</field> <value name="A"> <block type="total_profit" id="Q-D^V)wgBN.-%#=~hu@F"></block> </value> <value name="B"> <block type="variables_get" id="uKAp4Y5$9_e[Ve*}E8SF"> <field name="VAR" id="RtbZBV:n,P^{X5j(LLY:" variabletype="">Limite</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="notify" id="T00k+UhzHv/xX2|~-!1;" collapsed="true"> <field name="NOTIFICATION_TYPE">error</field> <field name="NOTIFICATION_SOUND">severe-error</field> <value name="MESSAGE"> <shadow type="text" id="kt1EALBdG4!,.}%!}K-!"> <field name="TEXT">PERDENDO MUITO</field> </shadow> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="bb-.ZOer7Xk+fj8@B1C+"> <field name="OP">AND</field> <value name="A"> <block type="contract_check_result" id="%UiW|ylU/Wc3G?HHMp=p"> <field name="CHECK_RESULT">loss</field> </block> </value> <value name="B"> <block type="logic_compare" id="KY#T,we?jSqn2{:@Mo2g"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="4MsP1?/3UI4hihy@MMAT"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> </block> </value> <value name="B"> <block type="variables_get" id="/0$7c=PV8txrC#`sjEL="> <field name="VAR" id="e9vz4q~MDz@e1$^%wMdO" variabletype="">numero de perdas para mudar estratégia</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="K;7eyH@DMLvq:R=+!|1Y"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> <value name="VALUE"> <block type="math_arithmetic" id="{rs%QD}LUIpxX%=092KD"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="GI%PmGG,]NMFv+?E(1z,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Ei0ROuW##[.:[r(H.keL"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> </block> </value> <value name="B"> <shadow type="math_number" id="*Ven{.x.8n-~VS#;Pb4S"> <field name="NUM">2.3</field> </shadow> </value> </block> </value> <next> <block type="trade_again" id="!%{_::bt*czq%Qk0z:^e"></block> </next> </block> </statement> <value name="IF2"> <block type="logic_operation" id="H=Ab?$uS$uc-wEpY13aO"> <field name="OP">AND</field> <value name="A"> <block type="contract_check_result" id="+GZ;l#~5rZ3#):e]%h(V"> <field name="CHECK_RESULT">loss</field> </block> </value> <value name="B"> <block type="logic_compare" id="aat+:68f[{YF7R5=GSAt"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="guBUdUyI~=D!ItE=yYgA"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> </block> </value> <value name="B"> <block type="variables_get" id="[QpDH@Kc#v:WU?DY6.kS"> <field name="VAR" id="e9vz4q~MDz@e1$^%wMdO" variabletype="">numero de perdas para mudar estratégia</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="sn1cjw!n5kE0HeOXBo}O" collapsed="true"> <field name="VAR" id="Ed`a7JH9^TWCt!ySC^xg" variabletype="">Ultimo numero</field> <value name="VALUE"> <block type="variables_get" id="k6rm_@91ZObogvev,dHe"> <field name="VAR" id=".}!brj:3:*z[C#tf4p6k" variabletype="">ultimo numero estrategia perda</field> </block> </value> <next> <block type="variables_set" id="eh6,VKo,,)V@7W0$%q`#"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> <value name="VALUE"> <block type="math_arithmetic" id="-vtGNEne1vKe.,bMhN(9"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="GI%PmGG,]NMFv+?E(1z,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="a~Am=d+$6nf8Naw6!:O:"> <field name="VAR" id="m03mC1E%O+o|Am!^g|^#" variabletype="">Preço</field> </block> </value> <value name="B"> <shadow type="math_number" id="|1)e#,*|t/Un(D;nH*jx"> <field name="NUM">2.2</field> </shadow> </value> </block> </value> <next> <block type="trade_again" id="0*_O4P@o%Kz.?,h8y6nA"></block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> <block type="before_purchase" id="!me6eVFb7Ly~Kt(ZT[1T" collapsed="true" x="-11" y="-645"> <statement name="BEFOREPURCHASE_STACK"> <block type="controls_if" id="eKl-8PcfUmKdo+w}4csO"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="v4M32Vcj/Fd0mED:6L`w" collapsed="true"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="ld1wVoz*wfj~K,mDndBn"> <field name="VAR" id="Qw^gf=EcG}:];w@STR$^" variabletype="">perde</field> </block> </value> <value name="B"> <block type="variables_get" id="T}MMMj6,aPk#v)0nB5p,"> <field name="VAR" id="e9vz4q~MDz@e1$^%wMdO" variabletype="">numero de perdas para mudar estratégia</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="vnVWED57Y.H?_xNSF|OB" collapsed="true"> <field name="VAR" id="Ed`a7JH9^TWCt!ySC^xg" variabletype="">Ultimo numero</field> <value name="VALUE"> <block type="variables_get" id="ndz,cRmhk}e}C/eSy]g-"> <field name="VAR" id=".}!brj:3:*z[C#tf4p6k" variabletype="">ultimo numero estrategia perda</field> </block> </value> <next> <block type="purchase" id="3hOi#21zBXJNXJ{F/_qf"> <field name="PURCHASE_LIST">DIGITOVER</field> </block> </next> </block> </statement> <statement name="ELSE"> <block type="purchase" id="d|ke5e9EBmpj~jV(J}QF"> <field name="PURCHASE_LIST">DIGITUNDER</field> </block> </statement> </block> </statement> </block> <block type="text" id="wM0+/%ld}USf58t?%#53" disabled="true" x="-66" y="875"> <field name="TEXT">vctr Lima</field> </block> </xml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment