Tsd V1 1 Mt3 Osma Force Mm V1 1

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Tsd V1 1 Mt3 Osma Force Mm V1 1 as PDF for free.

More details

  • Words: 470
  • Pages: 2
tsd_v1.1_mt3_osma_force_mm_v1.1 the following are comments taken from the beginning of the expert mql: this expert uses the original logic from bob o'brians tsd v1.1. weekly direction is determined by osma and daily direction is determined by force. follow bob's instruction documents for the installation and use of this expert. changes to original expert 1) mm section was replaced with position sizing section that calculates lot sizing based on the percentage of account balance user wishes to risk on each trade. the risk is defined as the distance from entry to stoploss in pips multiplied by the pip value. the user sets the percentage on the setup window with defines: trade_risk. this version rounds up lot size, change to suit your preferences. example: if account balance is $50,000 and you wish to risk 1% per trade and the stoploss is 100 pips then (assuming pip value of $10.00) lots = (50,000*0.01)/(100*10) = 0.5 lots. valid lot sizes are 0.1 to 50 in 0.1 lot increments. this works with live and demo accounts on fxdd, other brokers may be different. 2) modify order section was replaced by delete and reset order to obtain proper position sizing with the changed entry and stoploss values. as the distance between entry and stoploss can change by a large amount when a pending stop order is modified, you can end up with a position size either much larger or much smaller than you desire. instead of modifyorder, deleteorder is used and a flag is set to allow the expert to recalculate the correct position size and reset the pending stop order with the new parameters 3) testing added to help ensure opening & closing of orders is performed. this simply sets a flag and gets a timestamp when attempting an order operation. it allows the expert to wait up to three 10 second intervals if needed to ensure that the flagged operation was a success. if the operation was not successful an alert will appear and the expert will resubmit the order operation. although very simple, this has saved & earned a lot of money over the past year when an expert either did not submit the operation to the server or the server did not respond. to disable the screen alert, change defines: screen_alerts(1) to (0) 4)

a simple weekly & daily direction comment was added

5) collision avoidance was changed to trade 9 pairs. replace with the original collision code if you wish to trade only 4 pairs 6) spread was added to entry price. order entry is + spread + 1 of high or spread -1 of low. change to suit your preferences. 7)

print statements were added to check operation. these extra print statements

can be commented out to keep the journal cleaner. please report any improvements, fixes, etc to [email protected] fxflash52

Related Documents

Tsd V1 Vs V2 P
October 2019 7
Interview V1[1].1
December 2019 12
Tsd V1 Vs V2 P
October 2019 5
V1
May 2020 25
V1
May 2020 18