Příspěvek se nahlašuje...
Zdravím všechny znalé programátory AOS.
Prosím o pomoc, nefunguje mi tento kod.
Poradí mi někdo prosím kde je chyba? Jestli jsem nevytvoil uplný blábol.
Neumím totiž programovat ale zkouším to, myšlenku mám, tohle je první část dvouindikátoru ještě bych potřeboval k nim implementovat další čtyři indikátory aby byl AOS funkční. Pomůže mi někdo?
Předem děkuji.
mxGraphModel>
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="start" parent="1" style="start" vertex="1">
<DataClass as="value" name="START">
<Array as="dataList">
<add as="Lots" value="0.60000"/>
<add as="Size_Automanagement" value="off"/>
<add as="Free_Margin_Fraction" value="0.10000"/>
<add as="Trading_Mode" value="trade"/>
<add as="Trailing_Stop" value="false"/>
<add as="Trailing_Points" value="0.00000"/>
<add as="Arrow_Color" value="White"/>
<add as="MAGIC" value="1.00000"/>
</Array>
</DataClass>
<mxGeometry as="geometry" height="60.0" width="60.0" x="20.0" y="10.0"/>
</mxCell>
<mxCell id="variables" parent="1" style="variables" vertex="1">
<DataClass as="value" name="Variables"/>
<mxGeometry as="geometry" height="60.0" width="60.0" x="-1000.0" y="-1000.0"/>
</mxCell>
<mxCell id="2" parent="1" style="open" vertex="1">
<DataClass as="value" name="Open">
<Array as="dataList">
<add as="Trade_Type" value="OP_BUY"/>
<add as="Stoploss" value="20.0"/>
<add as="Takeprofit" value="20.0"/>
<add as="Comment" value=""/>
</Array>
</DataClass>
<mxGeometry as="geometry" height="60.0" width="60.0" x="80.0" y="270.0"/>
</mxCell>
<mxCell id="3" parent="1" style="close" vertex="1">
<DataClass as="value" name="Close">
<Array as="dataList">
<add as="Trade_Type" value="OP_BUY"/>
</Array>
</DataClass>
<mxGeometry as="geometry" height="60.0" width="60.0" x="190.0" y="50.0"/>
</mxCell>
<mxCell id="4" parent="1" style="or" vertex="1">
<DataClass as="value" name="OR"/>
<mxGeometry as="geometry" height="60.0" width="60.0" x="300.0" y="50.0"/>
</mxCell>
<mxCell id="6" parent="1" style="ta" vertex="1">
<DataClassTA as="value" name="TA">
<Array as="dataListLeft">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="3"/>
<add as="MA_Shift" value="0"/>
<add as="MA_Method" value="MODE_SMA"/>
<add as="Applied_price" value="PRICE_CLOSE"/>
<add as="Shift" value="1"/>
</Array>
<Array as="dataListRight">
<add as="Symbol" value="Symbol()"/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="13"/>
<add as="Deviation" value="0"/>
<add as="Bands_Shift" value="0"/>
<add as="Applied_price" value="PRICE_TYPICAL"/>
<add as="Upper_Lower_Line" value="MODE_UPPER"/>
<add as="Shift" value="1"/>
</Array>
<Array as="dataList">
<add as="First_indicator" value="iMA"/>
<add as="Sign" value="=="/>
<add as="Second_indicator" value="iBands"/>
</Array>
</DataClassTA>
<mxGeometry as="geometry" height="60.0" width="60.0" x="480.0" y="160.0"/>
</mxCell>
<mxCell id="7" parent="1" style="ta" vertex="1">
<DataClassTA as="value" name="TA">
<Array as="dataListLeft">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="3"/>
<add as="MA_Shift" value="0"/>
<add as="MA_Method" value="MODE_EMA"/>
<add as="Applied_price" value="PRICE_CLOSE"/>
<add as="Shift" value="2"/>
</Array>
<Array as="dataListRight">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="13"/>
<add as="Deviation" value="0"/>
<add as="Bands_Shift" value="0"/>
<add as="Applied_price" value="PRICE_TYPICAL"/>
<add as="Upper_Lower_Line" value="MODE_UPPER"/>
<add as="Shift" value="2"/>
</Array>
<Array as="dataList">
<add as="First_indicator" value="iMA"/>
<add as="Sign" value="=="/>
<add as="Second_indicator" value="iBands"/>
</Array>
</DataClassTA>
<mxGeometry as="geometry" height="60.0" width="60.0" x="570.0" y="50.0"/>
</mxCell>
<mxCell id="8" parent="1" style="and" vertex="1">
<DataClass as="value" name="AND"/>
<mxGeometry as="geometry" height="60.0" width="60.0" x="220.0" y="260.0"/>
</mxCell>
<mxCell id="9" parent="1" style="ta" vertex="1">
<DataClassTA as="value" name="TA">
<Array as="dataListLeft">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="3"/>
<add as="MA_Shift" value="0"/>
<add as="MA_Method" value="MODE_EMA"/>
<add as="Applied_price" value="PRICE_CLOSE"/>
<add as="Shift" value="2"/>
</Array>
<Array as="dataListRight">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="13"/>
<add as="Deviation" value="0"/>
<add as="Bands_Shift" value="0"/>
<add as="Applied_price" value="PRICE_TYPICAL"/>
<add as="Upper_Lower_Line" value="MODE_UPPER"/>
<add as="Shift" value="2"/>
</Array>
<Array as="dataList">
<add as="First_indicator" value="iMA"/>
<add as="Sign" value=">"/>
<add as="Second_indicator" value="iBands"/>
</Array>
</DataClassTA>
<mxGeometry as="geometry" height="60.0" width="60.0" x="320.0" y="230.0"/>
</mxCell>
<mxCell id="10" parent="1" style="ta" vertex="1">
<DataClassTA as="value" name="TA">
<Array as="dataListLeft">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="3"/>
<add as="MA_Shift" value="0"/>
<add as="MA_Method" value="MODE_EMA"/>
<add as="Applied_price" value="PRICE_CLOSE"/>
<add as="Shift" value="1"/>
</Array>
<Array as="dataListRight">
<add as="Symbol" value=""EURUSD""/>
<add as="Timeframe" value="PERIOD_M5"/>
<add as="Period" value="13"/>
<add as="Deviation" value="0"/>
<add as="Bands_Shift" value="0"/>
<add as="Applied_price" value="PRICE_TYPICAL"/>
<add as="Upper_Lower_Line" value="MODE_UPPER"/>
<add as="Shift" value="1"/>
</Array>
<Array as="dataList">
<add as="First_indicator" value="iMA"/>
<add as="Sign" value="<"/>
<add as="Second_indicator" value="iBands"/>
</Array>
</DataClassTA>
<mxGeometry as="geometry" height="60.0" width="60.0" x="330.0" y="360.0"/>
</mxCell>
<mxCell edge="1" id="11" parent="1" source="2" target="8" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell edge="1" id="12" parent="1" source="start" target="3" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell edge="1" id="13" parent="1" source="3" target="4" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell id="16" parent="1" style="not" vertex="1">
<DataClass as="value" name="NOT"/>
<mxGeometry as="geometry" height="60.0" width="60.0" x="420.0" y="50.0"/>
</mxCell>
<mxCell edge="1" id="17" parent="1" source="4" target="16" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell edge="1" id="18" parent="1" source="16" target="7" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell edge="1" id="19" parent="1" source="4" target="6" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell edge="1" id="20" parent="1" source="8" target="9" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
<mxCell edge="1" id="21" parent="1" source="8" target="10" value="">
<mxGeometry as="geometry" relative="1"/>
</mxCell>
</root>
</mxGraphModel>