You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am adding functionality little by little. When starting, if there are no positions and no pending orders, pending stop orders are placed. The version description is attached to the class file:
ds
Interesting - the CBuyStopSellStopGrid::RefreshRates(void) function checks for zero asc-bid values.
Is it really a possible situation?
In general - no more remarks, the code is quite transparent and clear.
Interesting - the CBuyStopSellStopGrid::RefreshRates(void) function checks for zero asc-bid values.
Is this situation really possible?
In general, there are no other remarks, the code is quite transparent and clear.
Yes, this is life and anything is possible here. In general, check for zero values entered because of the tester (it was about a year ago: when starting the first t=few ticks the tester gave zeros).
I am adding functionality little by little. In OnTradeTransaction, if there is a position ("DEAL_ENTRY_IN") we remove pending orders and set two stop pending orders anew:
So far we have such shortcomings:
Yes, this is life and anything is possible. In general, the check for zero values was introduced because of the tester (there was a case about a year ago: when starting the first t=few ticks, the tester gave zeros).
I am adding functionality little by little. In OnTradeTransaction, if there is a position ("DEAL_ENTRY_IN") we remove pending orders and set two new stop pending orders:
So far we have such shortcomings:
The algorithm shown on the screenshot will not work. To make the algorithm work, you have to do the following:
When a buy signal is received, a grid of BUY STOP orders is placed above the high of the first candle. Below the close price, a SELL STOP order is placed. Orders should be closed not due to profit or loss, but due to another signal. With more or less sane signals, this system will always work.
This is just a variant; you can do everything in a different way.
If the signals are more or less sane, such a system will always work.
It would be better to write "if you buy at the lows and sell at the highs, you will always be in profit".
Who argues? The problem is to find "reasonable signals".
Version 1.003:
Actually, now we can think:
A better way would be to write "if you buy at the lows and sell at the highs, you will always be in profit".
Who argues? The problem is to find "reasonable signals".
The simplest and most obvious option.
Or so it goes.
Can I join you?
Done. Connect the Warehouse, update project files from the Warehouse.