I am new to Medved Trader, therefore I am not sure whether this feature has been implemented in MT or not. I would like to have a small side pane to the right of a chart (we may call it ChartTrader or whatever). In this ChartTrader, I would like to have a few essential shortcut buttons such as "BUY MARKET", "SELL MARKET", "GOING FLAT", etc.
Different from shortcut buttons on DOM based windows, I would like to have a built-in stop loss order being sent to the broker once a market order is filled. The stop loss order is not set at fixed N ticks away from some price, instead it should be based on some simple user configured criteria (e.g., the lower low of the current bar and the previous bar as the stop loss sell order).
If the button "GOING FLAT" is clicked, all unfilled orders should be cancelled, and an new order should be sent out to liquidate any position corresponding to the symbol on the chart.
More fancy features can be added as well. For example, some customized "BUY IF" or "SELL IF" buttons can be created which are associated with some simple criteria (for example, buy 100 shares of SPY if Close[1] > Open[1] and Close[0] > High[1], where Close[1] stands for the close price of previous bar, Close[0] is the current price, etc.). Once those "BUY IF" or "
SELL IF" buttons are activated, it will keep checking for the simple criteria to meet to fire a buy market or sell market order. Again, a stop loss will be automatically sent out, whose stop price is determined by some simple formula based on OHLC prices of recent two or three bars. (I implemented these features (even much fancier) in NinjaTrader, however I need something can set orders to Fidelity).
I knew all these could be done using the MT Websocket API outside of MT. However if it could be implemented within MT itself, it would be easier to use and is more robust. At least, being able to set stop loss price based on the OHLC prices of recent bars is already an enhancement to many DOM based trading software).
Question
ButtonTrader
I am new to Medved Trader, therefore I am not sure whether this feature has been implemented in MT or not. I would like to have a small side pane to the right of a chart (we may call it ChartTrader or whatever). In this ChartTrader, I would like to have a few essential shortcut buttons such as "BUY MARKET", "SELL MARKET", "GOING FLAT", etc.
Different from shortcut buttons on DOM based windows, I would like to have a built-in stop loss order being sent to the broker once a market order is filled. The stop loss order is not set at fixed N ticks away from some price, instead it should be based on some simple user configured criteria (e.g., the lower low of the current bar and the previous bar as the stop loss sell order).
If the button "GOING FLAT" is clicked, all unfilled orders should be cancelled, and an new order should be sent out to liquidate any position corresponding to the symbol on the chart.
More fancy features can be added as well. For example, some customized "BUY IF" or "SELL IF" buttons can be created which are associated with some simple criteria (for example, buy 100 shares of SPY if Close[1] > Open[1] and Close[0] > High[1], where Close[1] stands for the close price of previous bar, Close[0] is the current price, etc.). Once those "BUY IF" or "
SELL IF" buttons are activated, it will keep checking for the simple criteria to meet to fire a buy market or sell market order. Again, a stop loss will be automatically sent out, whose stop price is determined by some simple formula based on OHLC prices of recent two or three bars. (I implemented these features (even much fancier) in NinjaTrader, however I need something can set orders to Fidelity).
I knew all these could be done using the MT Websocket API outside of MT. However if it could be implemented within MT itself, it would be easier to use and is more robust. At least, being able to set stop loss price based on the OHLC prices of recent bars is already an enhancement to many DOM based trading software).
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.