RSI BOT with Martingale
Right click here theSave link content as..
to download the xml file
RSI BOT with Martingale
Right click here theSave link content as..
to download the xml file
<xml xmlns="http://www.w3.org/1999/xhtml" collection="false"> | |
<block type="procedures_defnoreturn" id="}a,@Z2+P7P;,a3rB*+Zc" collapsed="true" x="20" y="21"> | |
<mutation> | |
<arg name="_Target_Profit_"></arg> | |
<arg name="_Stop_Loss_"></arg> | |
<arg name="_First_Stake_"></arg> | |
<arg name="_Martingale_Factor_"></arg> | |
</mutation> | |
<field name="NAME">(1) FRUITFELLA's Management</field> | |
<comment pinned="false" h="80" w="160">FRUITFELLA's Management ver. 4.0</comment> | |
<statement name="STACK"> | |
<block type="notify" id="G7~wRrfg?9}gSh#czLzG"> | |
<field name="NOTIFICATION_TYPE">info</field> | |
<value name="MESSAGE"> | |
<block type="text" id="3GWKvKtkV`vSfzxdrUt="> | |
<field name="TEXT">FRUITFELLA's Martingale ver. 4.0</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="FK4u?paD9^I-!5Ai)Jjl" collapsed="true"> | |
<field name="VAR">FirstStake</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="?mfNzA`8peRWy,e~svE0"> | |
<field name="VAR">_First_Stake_</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="6?YL[uBR,$:+Z.j;Kti(" collapsed="true"> | |
<field name="VAR">_stake</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="TR`xGTpoI16iZ/$}H/4z"> | |
<field name="VAR">_First_Stake_</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="snPg/%U^oi}xnFjCE]IU" collapsed="true"> | |
<field name="VAR">TargetProfit</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="K1Woch)cO11X:{raUI]Y"> | |
<field name="VAR">_Target_Profit_</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="FH65,OQ3n?21Hv.c60QZ" collapsed="true"> | |
<field name="VAR">Stoploss</field> | |
<value name="VALUE"> | |
<block type="math_single" id="~RqJiX@$dbDTn56tX~(!"> | |
<field name="OP">NEG</field> | |
<value name="NUM"> | |
<shadow type="math_number" id=":*O0u?1~mablmyFH9nQ^"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_single" id="Fc7b(_3%H~X(pjboD3g4"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="KJyX:Z7HpG+zVVn[[$5L"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="variables_get" id="r7!OjfMm)T_)D++HZ*u0"> | |
<field name="VAR">_Stop_Loss_</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="F7E,GI03fZ-!.sSi8nvu" collapsed="true"> | |
<field name="VAR">MartiFactor</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="5QnPe]lP**xA=obEC:rR"> | |
<field name="VAR">_Martingale_Factor_</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="MlN8XJW]z%Nn$vX!fwUC"> | |
<field name="VAR">profit</field> | |
<value name="VALUE"> | |
<block type="math_number" id="AXE:PR%~GtPn!J;zVdU4"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="k~Rc593^x|1T:8fN4F]h"> | |
<field name="VAR">fund</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="i{:]=M|+XWYqrVeP(}%Q"> | |
<field name="VAR">_Stop_Loss_</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="/V`@3MI!XOl2iQu8)MRG"> | |
<field name="VAR">win_count</field> | |
<value name="VALUE"> | |
<block type="math_number" id="@uMNRq7*h6CpK{OL*`1;"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="*_wi!@b$%T/+ip`iQtD|"> | |
<field name="VAR">loss_count</field> | |
<value name="VALUE"> | |
<block type="math_number" id="@6~ol6rGo)hiSc:6#V1^"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="6hiRA01::q+6xm.mhYk}"> | |
<field name="VAR">loss_level</field> | |
<value name="VALUE"> | |
<block type="math_number" id="cs!D-m]M+4^%Uv=SwMP%"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
</block> | |
<block type="trade" id="73vWdDagX-YhN)CtN.3D" x="335" y="11"> | |
<statement name="SUBMARKET"> | |
<block type="procedures_callnoreturn" id="U5{8ol56Q}B}FnwJxlI1"> | |
<mutation name="(1) FRUITFELLA's Management"> | |
<arg name="_Target_Profit_"></arg> | |
<arg name="_Stop_Loss_"></arg> | |
<arg name="_First_Stake_"></arg> | |
<arg name="_Martingale_Factor_"></arg> | |
</mutation> | |
<value name="ARG0"> | |
<block type="math_number" id="t-K$uySu_u}YbDeI~y?C"> | |
<field name="NUM">100</field> | |
</block> | |
</value> | |
<value name="ARG1"> | |
<block type="math_number" id="uke)3^gQt6-EbHl$-;Ya"> | |
<field name="NUM">100</field> | |
</block> | |
</value> | |
<value name="ARG2"> | |
<block type="math_number" id="2qO9K|C)$Z7TrhvaUF^2"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<value name="ARG3"> | |
<block type="math_number" id=";XNGNx:@]()`;DO^,|rM"> | |
<field name="NUM">1.1</field> | |
</block> | |
</value> | |
<next> | |
<block type="market" id="~T:?7-`j{)c/H5e]d.H9"> | |
<field name="MARKET_LIST">volidx</field> | |
<field name="SUBMARKET_LIST">random_index</field> | |
<field name="SYMBOL_LIST">R_100</field> | |
<field name="TRADETYPECAT_LIST">callput</field> | |
<field name="TRADETYPE_LIST">risefall</field> | |
<field name="TYPE_LIST">both</field> | |
<field name="CANDLEINTERVAL_LIST">60</field> | |
<field name="DURATIONTYPE_LIST">t</field> | |
<field name="PAYOUTTYPE_LIST">stake</field> | |
<field name="CURRENCY_LIST">USD</field> | |
<field name="RESTARTONERROR">FALSE</field> | |
<value name="DURATION"> | |
<block type="math_number" id="0p-bjjEuB1k(LNWLaiS]"> | |
<field name="NUM">10</field> | |
</block> | |
</value> | |
<value name="AMOUNT"> | |
<block type="procedures_callreturn" id="%u.Her0Oj23~uUJ3Vx;]"> | |
<mutation name="FRUITFELLA's stake"></mutation> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</statement> | |
</block> | |
<block type="procedures_defreturn" id="CB8N-:[Z-SDJ78{hn`W:" collapsed="true" x="22" y="63"> | |
<field name="NAME">FRUITFELLA's stake</field> | |
<comment pinned="false" h="80" w="160">FRUITFELLA's Management ver. 4.0</comment> | |
<value name="RETURN"> | |
<block type="variables_get" id="zFd90v|B;S*:!0{MKN]6"> | |
<field name="VAR">_stake</field> | |
</block> | |
</value> | |
</block> | |
<block type="procedures_defreturn" id="=78^x1,M_K`EPoWP8B#4" collapsed="true" x="22" y="113"> | |
<mutation> | |
<arg name="put [Result is Win] here"></arg> | |
<arg name="put [Contract Detail : profit] here"></arg> | |
</mutation> | |
<field name="NAME">(4) FRUITFELLA Trade again</field> | |
<comment pinned="false" h="80" w="160">FRUITFELLA's Management ver. 4.0</comment> | |
<statement name="STACK"> | |
<block type="math_change" id="5mMvn7#-6MC#=J5k3?PV"> | |
<field name="VAR">profit</field> | |
<value name="DELTA"> | |
<shadow type="math_number" id="!`~mJ[ITS6N=uY[f!Jo%"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id=".j]ZF3LWu9*=.nIi9(Gp"> | |
<field name="VAR">put [Contract Detail : profit] here</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="Ntd8/neg-yW_~sW%z8Jm" collapsed="true"> | |
<field name="VAR">profit</field> | |
<value name="VALUE"> | |
<block type="math_arithmetic" id="OonVVD66.u7{{wXOy]D)"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="BJLl,k}i_-.}(X^0Rt%["> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_round" id="[email protected]]j99~T|@"> | |
<field name="OP">ROUND</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="enW;6`Y#VQ8j3,1ir3KU"> | |
<field name="NUM">3.1</field> | |
</shadow> | |
<block type="math_arithmetic" id="Su++(AeXbX,`P::$9IIG"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="}kZ5|+fH9G83t.$we7~]"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="^][hS|MfVLhwa~_,U~fK"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id=".H#}U`Qa_N#b^$I9(Vh2"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="ytnd8Z:12vFa*j,jpfx`"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="controls_if" id="2haL5s765kSl{T~T5Z^k"> | |
<mutation else="1"></mutation> | |
<value name="IF0"> | |
<block type="variables_get" id="j0Q0xvW7M*PhQfuf|p-$"> | |
<field name="VAR">put [Result is Win] here</field> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="math_change" id="?/pqhEYJgyJxjyeLo+9b"> | |
<field name="VAR">fund</field> | |
<value name="DELTA"> | |
<shadow type="math_number" id="3^)nQ[nTROKiaDQ6Q0)K"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="l-?8hGe;=7tm`YpFS_!P"> | |
<field name="VAR">put [Contract Detail : profit] here</field> | |
</block> | |
</value> | |
<next> | |
<block type="notify" id="$xWq_gb;#vj^5^r6J(zb"> | |
<field name="NOTIFICATION_TYPE">success</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="Q^NZ[vLctVa-#id(Xt#I"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="/wo],{y6GkGpZM{%Ueh-"> | |
<field name="TEXT">Won $ </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="*,p0U|-o%C-t:]a5_2M]"> | |
<field name="VAR">put [Contract Detail : profit] here</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="math_change" id="B_t!T1WWGTt2L#=XAq$4"> | |
<field name="VAR">win_count</field> | |
<value name="DELTA"> | |
<shadow type="math_number" id="1~)C)c$Zi*p]5Jddfgq_"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
<next> | |
<block type="variables_set" id="aPRpWycsb.n=U#B:fTZD"> | |
<field name="VAR">loss_count</field> | |
<value name="VALUE"> | |
<block type="math_number" id="wo=CHjiCccmpWlCo@aA["> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="LC75k*LDcS-{XNrO$Vgg"> | |
<field name="VAR">_stake</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="]#X!Z0UpjM0F|9oTAD(y"> | |
<field name="VAR">FirstStake</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<statement name="ELSE"> | |
<block type="math_change" id="k^1#lLvTr;u-y~`V[6vD"> | |
<field name="VAR">fund</field> | |
<value name="DELTA"> | |
<shadow type="math_number" id="3^)nQ[nTROKiaDQ6Q0)K"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="wBeI@*t/GN4`jd,A;APG"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="]qV*T+Dl8~,a}X0|g1$N"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id=")4~TOAZ5(=s$/(O3#[-*"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="ZHMP^o}8ZX=3E(O0~#{s"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="variables_get" id="L)w@vD7ZBQp5{7)#p:7^"> | |
<field name="VAR">put [Contract Detail : profit] here</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="#wWra}b|p;mRiWMjsiOs"> | |
<field name="NUM">-1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="notify" id="?7af_B2?41(mz=c3)UdK"> | |
<field name="NOTIFICATION_TYPE">error</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="}V~C-S~}ao_EtGQava/V"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="F7w*Vh.;{b#pXl[Mo6dr"> | |
<field name="TEXT">Lost $ </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="math_single" id=".MunG7nH^E$s,l8kD0Iy"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="xO6M6WGuJ].}w]5aDD77"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="variables_get" id="|TVRGP#fE+oEQV9CavJt"> | |
<field name="VAR">put [Contract Detail : profit] here</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="math_change" id="(6=+$/+DEbysDWc])WBD"> | |
<field name="VAR">loss_count</field> | |
<value name="DELTA"> | |
<shadow type="math_number" id="[W_X?#)Dv,gm)Ff#:8T8"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
<next> | |
<block type="variables_set" id="V*^dRX_0}whp$+CPNq{x"> | |
<field name="VAR">win_count</field> | |
<value name="VALUE"> | |
<block type="math_number" id="8M!%N2:W2r1cS=tvBqxM"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
<next> | |
<block type="controls_if" id="-2K^5T@7olg3M6J%I4$B"> | |
<value name="IF0"> | |
<block type="logic_compare" id="ChDetwZuo;cU6yL{-B{A"> | |
<field name="OP">GT</field> | |
<value name="A"> | |
<block type="variables_get" id=".Y*ozIy;+ADs#R8Coh6G"> | |
<field name="VAR">loss_count</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="variables_get" id="CL]-YIRi^FOdkf{MohQ|"> | |
<field name="VAR">loss_level</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="variables_set" id="1@C;LXDelk94-)4~K`n="> | |
<field name="VAR">loss_level</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="Ea|:QN:u+Rt[V_J6|1G+"> | |
<field name="VAR">loss_count</field> | |
</block> | |
</value> | |
</block> | |
</statement> | |
<next> | |
<block type="math_change" id=")x3(])A|!w=FlJ}Z*aKI"> | |
<field name="VAR">_stake</field> | |
<value name="DELTA"> | |
<shadow type="math_number" id="iOY0jJ`9*c:I2Hd:QJ_Y"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="K/wo]$5[Ba#a7evooV~F"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="}P^(EoAZ-YU-MS4SDvmg"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="0%H*qOjo3?RAmRO$2U/-"> | |
<field name="VAR">_stake</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="/LcPg[[email protected]"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="4GqI7Qc3mqsKGEJKSnT3"> | |
<field name="VAR">MartiFactor</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="controls_if" id="#[email protected]+2nq("> | |
<value name="IF0"> | |
<block type="logic_compare" id="y0?bc$,pbg,z{RgW#_*d"> | |
<field name="OP">LT</field> | |
<value name="A"> | |
<block type="variables_get" id="0v+y||{$ta1;}i@yF0{Z"> | |
<field name="VAR">fund</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="variables_get" id="W)L+$*T,UY%E^g8c[D14"> | |
<field name="VAR">_stake</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="notify" id="|Pd?^i5g(%)EP-AHJI7h"> | |
<field name="NOTIFICATION_TYPE">info</field> | |
<value name="MESSAGE"> | |
<block type="text" id="uoU#k)KJ-,]8ahXlNb7?"> | |
<field name="TEXT">[FM] Martingale reset</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="s:SsdS8|0]%qzJ2Pz2mZ"> | |
<field name="VAR">_stake</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="(|Tt5-MUcjsMGLIaWLFJ"> | |
<field name="VAR">FirstStake</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<next> | |
<block type="controls_if" id="=q?U,KISAB/1XfczkDs."> | |
<value name="IF0"> | |
<block type="logic_compare" id="zTcIc1/NdQ?(tdZdWNQJ"> | |
<field name="OP">GT</field> | |
<value name="A"> | |
<block type="variables_get" id="mOD.a]~~g7+Ox+A.pJ7@"> | |
<field name="VAR">loss_count</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="variables_get" id="qA-j#38_/7uN:NZ2dxtR"> | |
<field name="VAR">loss_level</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="variables_set" id="jG+5tb/d5]R`HYc#dBY!"> | |
<field name="VAR">loss_level</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="{vGDX,4rTjI+*GXL#;r$"> | |
<field name="VAR">loss_count</field> | |
</block> | |
</value> | |
</block> | |
</statement> | |
<next> | |
<block type="variables_set" id="IAK=k]ugf7G2~wLt6}/3" collapsed="true"> | |
<field name="VAR">notiFund</field> | |
<value name="VALUE"> | |
<block type="math_arithmetic" id="r(Ebu|9skMi6q6j,XlZB"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="BJLl,k}i_-.}(X^0Rt%["> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_round" id="FU=+/Q0qX]-fkL9VNlpp"> | |
<field name="OP">ROUND</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="enW;6`Y#VQ8j3,1ir3KU"> | |
<field name="NUM">3.1</field> | |
</shadow> | |
<block type="math_arithmetic" id="Ah:uOGp9?=75==c??M||"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="}kZ5|+fH9G83t.$we7~]"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="f}ai~Qo[$.MC)vp#T2N["> | |
<field name="VAR">fund</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="MGWS/;d_W_d$zqs#dmxy"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="epyt0}Kjo_kTcR8tLAmu"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="controls_if" id="?t=R4#bB1Ph_eG%)U{Zq"> | |
<mutation elseif="2" else="1"></mutation> | |
<value name="IF0"> | |
<block type="logic_compare" id="n(-qX6sIpX~Fo[1%T`a]"> | |
<field name="OP">GTE</field> | |
<value name="A"> | |
<block type="variables_get" id="pRRkIZW;yZXTP,Ec2#%7"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="variables_get" id=".J0l4%b9|`DFbsS4y+@b"> | |
<field name="VAR">TargetProfit</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="text_print" id="fQK[F8W}8)x=k0Y$nDnR"> | |
<value name="TEXT"> | |
<shadow type="text" id="dJ4OA.-2N8i,6Qy7r!J|"> | |
<field name="TEXT">abc</field> | |
</shadow> | |
<block type="text_join" id="Whtg8.!W#_q;bm-PSDK(" collapsed="true"> | |
<mutation items="4"></mutation> | |
<value name="ADD0"> | |
<block type="text" id=")|MP_xd~9oo!y10?cM;O"> | |
<field name="TEXT">Take profit $</field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="tp=nlW)P|8TI#JCR-R`Z"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="ADD2"> | |
<block type="text" id="gYA6g6;*#{iQK;_^|E{B"> | |
<field name="TEXT"> -Loss Level </field> | |
</block> | |
</value> | |
<value name="ADD3"> | |
<block type="variables_get" id="Ciq_[~,rO*)O9fztIZnM"> | |
<field name="VAR">loss_level</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="Ii~,V*I}==%{VbzSUcNW"> | |
<field name="VAR">Continue</field> | |
<value name="VALUE"> | |
<block type="logic_boolean" id="IJrFVDwIh9*V/-*GcP3$"> | |
<field name="BOOL">FALSE</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="IF1"> | |
<block type="logic_compare" id="wqaUuu5;d0qWr@A9R8Uv"> | |
<field name="OP">LTE</field> | |
<value name="A"> | |
<block type="variables_get" id="iJUy9eQ?_qq:Fx#e:!;)"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="variables_get" id="?=LuB)pGx9NhJuh30YA+"> | |
<field name="VAR">Stoploss</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO1"> | |
<block type="text_print" id="+fc,,fh/fwUH3nhoFc3f"> | |
<value name="TEXT"> | |
<shadow type="text" id="dJ4OA.-2N8i,6Qy7r!J|"> | |
<field name="TEXT">abc</field> | |
</shadow> | |
<block type="text_join" id="]gq4NH~_PD.#^!q#_{UN" collapsed="true"> | |
<mutation items="4"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="T~7).e8^W6THQjOa6c:v"> | |
<field name="TEXT">Stop loss $</field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="e~X%5c6eC?N6h}{GYA2o"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="ADD2"> | |
<block type="text" id="}ExCf{,/K=Ho[,U{JbEo"> | |
<field name="TEXT"> -Loss Level </field> | |
</block> | |
</value> | |
<value name="ADD3"> | |
<block type="variables_get" id="~FM6rvvhh*n/K$C=C)gB"> | |
<field name="VAR">loss_level</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="v@2,ptkI/p1)6wsI?y{1"> | |
<field name="VAR">Continue</field> | |
<value name="VALUE"> | |
<block type="logic_boolean" id="*l4Zg=M/0iz4{x[*~[:o"> | |
<field name="BOOL">FALSE</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="IF2"> | |
<block type="logic_compare" id="M!GOaZ9{rKo-:yogjT%I"> | |
<field name="OP">LT</field> | |
<value name="A"> | |
<block type="variables_get" id="owkoeK,;%1j,%7=!i),x"> | |
<field name="VAR">fund</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="variables_get" id="Y$Xug@X(=QXY2qQ7xFCi"> | |
<field name="VAR">_stake</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO2"> | |
<block type="text_print" id="/+}gt8x~k[@f.?+mywe["> | |
<value name="TEXT"> | |
<shadow type="text" id="dJ4OA.-2N8i,6Qy7r!J|"> | |
<field name="TEXT">abc</field> | |
</shadow> | |
<block type="text_join" id="F!VlUx8d:7OEgzhXrxl#" collapsed="true"> | |
<mutation items="6"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="4P28?Ozo?-$e3J{*Py?O"> | |
<field name="TEXT">Insufficient fund! $ </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="s4tVNNgW)l}m4G3fyR+o"> | |
<field name="VAR">fund</field> | |
</block> | |
</value> | |
<value name="ADD2"> | |
<block type="text" id="w_z-U#I0N%{;z3R~SQ$("> | |
<field name="TEXT"> -Loss $</field> | |
</block> | |
</value> | |
<value name="ADD3"> | |
<block type="variables_get" id="K,]BygVA8A?-v:Y6K~Cc"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="ADD4"> | |
<block type="text" id="^bni|OX`^5e.JE(7S0Qu"> | |
<field name="TEXT"> -Loss Level </field> | |
</block> | |
</value> | |
<value name="ADD5"> | |
<block type="variables_get" id="bKnhkBXrUuhI@j%i1=U|"> | |
<field name="VAR">loss_level</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="t$u56Sw_6@XYaif1WLd$"> | |
<field name="VAR">Continue</field> | |
<value name="VALUE"> | |
<block type="logic_boolean" id="OUeU,[[x$(*g@CQSH,;r"> | |
<field name="BOOL">FALSE</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<statement name="ELSE"> | |
<block type="controls_if" id="g`8h+Pq;/Z=wuJIIBr`Z"> | |
<mutation else="1"></mutation> | |
<value name="IF0"> | |
<block type="logic_compare" id="Q}%H((m|!LOeIVHKxGbv"> | |
<field name="OP">GT</field> | |
<value name="A"> | |
<block type="variables_get" id="V$I5(R=s}FQh708v+Vm#"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="math_number" id="$W;*/?A}DM!.(x;-wpFE"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="notify" id="]7Cq=rQ1D00M},$ck5=;"> | |
<field name="NOTIFICATION_TYPE">info</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="So,=5m|b]84g6aQ`jzah" collapsed="true"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="Ww6Utk^Ce:2M^1:IbEYq"> | |
<field name="TEXT">[FM] Profit $ </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="-zUe!0X+$J)uWJg7w-Fc"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
<statement name="ELSE"> | |
<block type="notify" id="8QOsp0}TU)_%#dE?4He!"> | |
<field name="NOTIFICATION_TYPE">warn</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="GlRf$dW21O#G(;%bl-cz" collapsed="true"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="Z`|]KLN43:/oO3eh43%/"> | |
<field name="TEXT">[FM] Loss $ </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="math_single" id="Hzvl%]Nvo~uT}bRmGJmG"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="gc/k;H5Ds7Rwq9)0c_0s"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="variables_get" id="I6st4=PUcB2y2.:.[c+G"> | |
<field name="VAR">profit</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
<next> | |
<block type="notify" id="WC}St3n=%#lAxONk!_N5"> | |
<field name="NOTIFICATION_TYPE">info</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id=";#/46eoI;,#+3j!B{_6b" collapsed="true"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="39zoP,lzM4(Gk,R?vKNk"> | |
<field name="TEXT">[FM] Fund $ </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="}E3;hn/=:_?8.Q_CaC`{"> | |
<field name="VAR">notiFund</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="notify" id="u;Y]$`A3D/Y/Szs77l^3"> | |
<field name="NOTIFICATION_TYPE">info</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="RL`N{U.3irW,(jV1`EN:" collapsed="true"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="HM%kxz#-,k|(5wfqL3xh"> | |
<field name="TEXT">Loss Level </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="*gt_3I]ey%a1Y_g05LH)"> | |
<field name="VAR">loss_level</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="notify" id="q;L?.,ts%#B?!]^E~yI~"> | |
<field name="NOTIFICATION_TYPE">info</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="u~wY9+DxrO:x)*S3P$q|" collapsed="true"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id=":nhA2e{]iVLqkmJ:;z@r"> | |
<field name="TEXT">Loss Count </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="6,U-as4](4o,.39un^{["> | |
<field name="VAR">loss_count</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="o88-OoU#i@|Gn^I[1rf1"> | |
<field name="VAR">Continue</field> | |
<value name="VALUE"> | |
<block type="logic_boolean" id="exXi?*3Wu(`Gl$s6cDU["> | |
<field name="BOOL">TRUE</field> | |
</block> | |
</value> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="RETURN"> | |
<block type="variables_get" id="`QS.RAQ`zLWY(L^,u`~t"> | |
<field name="VAR">Continue</field> | |
</block> | |
</value> | |
</block> | |
<block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="-1" y="326"> | |
<statement name="BEFOREPURCHASE_STACK"> | |
<block type="variables_set" id=",k3e|97Q#zy~St|},FIw"> | |
<field name="VAR">RSI</field> | |
<value name="VALUE"> | |
<block type="rsi" id="L`@9^C8dP8t_eY~kc`z@"> | |
<value name="INPUT"> | |
<block type="ohlc_values" id="zfL;*8=+xY4c;D.a+BNG"> | |
<field name="OHLCFIELD_LIST">close</field> | |
</block> | |
</value> | |
<value name="PERIOD"> | |
<block type="math_number" id="M`iwUevPD`7AM;@a_lxL"> | |
<field name="NUM">14</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="notify" id="d6hoYghe$|5gGM!Uw4^E"> | |
<field name="NOTIFICATION_TYPE">success</field> | |
<value name="MESSAGE"> | |
<block type="text_join" id="0}QaY20UMMh`;6uUyJJV"> | |
<mutation items="2"></mutation> | |
<value name="ADD0"> | |
<block type="text" id="rycoAM.71-1g2W0KNs9N"> | |
<field name="TEXT">RSI: </field> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="variables_get" id="@6r^:%J(M%u/C:m.1,np"> | |
<field name="VAR">RSI</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<next> | |
<block type="controls_if" id="s{kS1BqXYXkG~l9wQ|Ed"> | |
<mutation else="1"></mutation> | |
<value name="IF0"> | |
<block type="logic_compare" id="}[99+Ny4yVf;!J=sZqZK"> | |
<field name="OP">GTE</field> | |
<value name="A"> | |
<block type="variables_get" id="d2lEPSjR=xRctYlaXZ%/"> | |
<field name="VAR">RSI</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="math_number" id="EZ9`dW{*yzAaw.9JN?PD"> | |
<field name="NUM">70</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ"> | |
<field name="PURCHASE_LIST">PUT</field> | |
</block> | |
</statement> | |
<statement name="ELSE"> | |
<block type="controls_if" id=".w6#:3YN02iJYEn~*zeO"> | |
<value name="IF0"> | |
<block type="logic_compare" id="J8fPxAVJ=pJRsvb2*/,2"> | |
<field name="OP">LTE</field> | |
<value name="A"> | |
<block type="variables_get" id="j/)Z{xC~w:%S~.$tPFcW"> | |
<field name="VAR">RSI</field> | |
</block> | |
</value> | |
<value name="B"> | |
<block type="math_number" id="k^GA+}=[E*+b5DPc3-$O"> | |
<field name="NUM">30</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="purchase" id=")5}r:1X[+$9M7t|Yj`#$"> | |
<field name="PURCHASE_LIST">CALL</field> | |
</block> | |
</statement> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
</block> | |
<block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="440" y="426"> | |
<statement name="AFTERPURCHASE_STACK"> | |
<block type="controls_if" id="g2?jw8|B}~nESq(^$Qv4"> | |
<value name="IF0"> | |
<block type="procedures_callreturn" id="kB7Lg!Y2,%qpKElhFB%L"> | |
<mutation name="(4) FRUITFELLA Trade again"> | |
<arg name="put [Result is Win] here"></arg> | |
<arg name="put [Contract Detail : profit] here"></arg> | |
</mutation> | |
<value name="ARG0"> | |
<block type="contract_check_result" id=";Ji2^%f;A0}l;u*N,PDT"> | |
<field name="CHECK_RESULT">win</field> | |
</block> | |
</value> | |
<value name="ARG1"> | |
<block type="read_details" id="iZ{G1B8@gvs|-I1S@N]H"> | |
<field name="DETAIL_INDEX">4</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<statement name="DO0"> | |
<block type="timeout" id="v+/JD!yVDONl(80Lx%9{"> | |
<statement name="TIMEOUTSTACK"> | |
<block type="trade_again" id="SO*X=~i(5H%=zQ5%e+J$"></block> | |
</statement> | |
<value name="SECONDS"> | |
<block type="math_number" id="sZN-C9/iFa}`K?S}$I#L"> | |
<field name="NUM">10</field> | |
</block> | |
</value> | |
</block> | |
</statement> | |
</block> | |
</statement> | |
</block> | |
</xml> |