fatdog1 wrote:Ali Son wrote:Now that I have the precise particulars, I will also go ahead and enlist the support of coders on the TS forums as well.
https://www.tradestation.com/Discussion ... c_ID=53491FatDog1, I'll let you know when I get answer to my post with a working modified Darvas code.
-OS
Ali,
Sounds good. TRO said he would look at it too.
I will look at the charts with DarvasBox on it to find examples of bull and bear flags to post pictures of for a visual clue.
I found one sort of picture where the flag pole is inside the box for a long example and one good looking bear flag.
FD1
Ok, I changed the time frame on the EURUSD to 30 minutes and I found a
good looking bull flag breakout.
The flagpole is outside the first box and is a big key reversal candle or up flag pole candle.
The congestion area is not one DarvasBox, but several side by side in about the same range.
You can see what happens a lot of times the way the DarvasBox is currently coded. There are lots of little long and short trades inside the DarvasBoxes which should not happen but that can be reduced by changing the stop loss and profit target settings in the inputs.
There is finally a breakout of the last DarvasBox which is the bull flag breakout trade that I am looking for.
I am hoping that if the key reversal condition was added, there would only be one DarvasBox around the congestion area and one long breakout trade.
In the next picture and next post, I will simulate the extend box top and box bottom to the right feature I am looking for by using hand drawn trend lines for the box top and box bottom.
Then I will scroll to the right on the chart to see what happens when the price trades back to the hand drawn trendlines.