39 satır
14 KiB
XML
39 satır
14 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="660px" preserveAspectRatio="none" style="width:657px;height:660px;" version="1.1" viewBox="0 0 657 660" width="657px" zoomAndPan="magnify"><defs><filter height="300%" id="f1qh29v78rap96" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="114" x="270.5" y="26.708">Flow Per Bar</text><ellipse cx="333" cy="40.9531" fill="#000000" filter="url(#f1qh29v78rap96)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1qh29v78rap96)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="189" x="238.5" y="70.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="169" x="248.5" y="92.0918">Update MACD & Stochastic</text><polygon fill="#FEFECE" filter="url(#f1qh29v78rap96)" points="58,124.9219,190,124.9219,202,136.9219,190,148.9219,58,148.9219,46,136.9219,58,124.9219" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="13" x="128" y="159.1323">ya</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="132" x="58" y="140.73">Syarat Long terpenuhi?</text><rect fill="#FEFECE" filter="url(#f1qh29v78rap96)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="201" x="23.5" y="180.6323"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="181" x="33.5" y="201.771">Entry Long saat candle close</text><rect fill="#FEFECE" filter="url(#f1qh29v78rap96)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="228" x="10" y="249.6011"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="208" x="20" y="270.7397">Set SL (base low - 1 pip), TP1=1R</text><polygon fill="#FEFECE" filter="url(#f1qh29v78rap96)" points="341.5,124.9219,477.5,124.9219,489.5,136.9219,477.5,148.9219,341.5,148.9219,329.5,136.9219,341.5,124.9219" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="13" x="413.5" y="159.1323">ya</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="136" x="341.5" y="140.73">Syarat Short terpenuhi?</text><rect fill="#FEFECE" filter="url(#f1qh29v78rap96)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="205" x="307" y="180.6323"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="185" x="317" y="201.771">Entry Short saat candle close</text><rect fill="#FEFECE" filter="url(#f1qh29v78rap96)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="303" x="258" y="249.6011"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="283" x="268" y="270.7397">Set SL (base high + spread + 1 pip), TP1=1R</text><rect fill="#FEFECE" filter="url(#f1qh29v78rap96)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="75" x="571" y="211.7144"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="55" x="581" y="232.853">No trade</text><polygon fill="#FEFECE" filter="url(#f1qh29v78rap96)" points="211.5,367.5698,256.5,
|
||
|
|
@startuml
|
||
|
|
title Flow Per Bar
|
||
|
|
|
||
|
|
start
|
||
|
|
:Update MACD & Stochastic;
|
||
|
|
if (Syarat Long terpenuhi?) then (ya)
|
||
|
|
:Entry Long saat candle close;
|
||
|
|
:Set SL (base low - 1 pip), TP1=1R;
|
||
|
|
elseif (Syarat Short terpenuhi?) then (ya)
|
||
|
|
:Entry Short saat candle close;
|
||
|
|
:Set SL (base high + spread + 1 pip), TP1=1R;
|
||
|
|
else
|
||
|
|
:No trade;
|
||
|
|
endif
|
||
|
|
|
||
|
|
while (posisi terbuka)
|
||
|
|
if (TP1 hit?) then (ya)
|
||
|
|
:Close 80%;
|
||
|
|
:SL -> Breakeven;
|
||
|
|
:Set TP2 = 2R;
|
||
|
|
elseif (TP2 hit atau Stop?) then (ya)
|
||
|
|
:Close sisa 20%;
|
||
|
|
break
|
||
|
|
endif
|
||
|
|
endwhile
|
||
|
|
stop
|
||
|
|
@enduml
|
||
|
|
|
||
|
|
PlantUML version 1.2020.08(Sun Apr 26 14:08:22 UTC 2020)
|
||
|
|
(GPL source distribution)
|
||
|
|
Java Runtime: OpenJDK Runtime Environment
|
||
|
|
JVM: OpenJDK 64-Bit Server VM
|
||
|
|
Java Version: 1.8.0_402-heroku-b06
|
||
|
|
Operating System: Linux
|
||
|
|
Default Encoding: UTF-8
|
||
|
|
Language: en
|
||
|
|
Country: US
|
||
|
|
--></g></svg>
|