help to program automated trading strategy
Forums › ProRealTime English forum › ProOrder support › help to program automated trading strategy
- This topic has 14 replies, 3 voices, and was last updated 8 years ago by verdi55.
-
-
12/17/2016 at 3:23 PM #1870812/17/2016 at 3:35 PM #18710
I have moved your post to a new topic for your specific request.
In order to assist you, please provide as much information as possible about your trading robot strategy please. Indicators used, entries and exit. Screenshots appreciated, thanks!
1 user thanked author for this post.
12/18/2016 at 4:14 PM #18737Hey!
Here’s my strategy out: Pont and figure chart is moving only if the price is moving either up predetermined distance or down by a predetermined distance. If the price is moving when nothing happens in the chart.
Ruterna in the chart called boxes should be 0.2% or 2 points for day trading and 1%, or 10 points for swing trading. When the price goes up, the drawn cross (X) in the boxes and rings (o) when the price goes down. as long as the price rises so we draw the check åvanför each other. If the price starts to fall then so can any column change (trend reversal) be relevant. The rules for a column replacement is as follows: The price must fall at least three boxes, so that we get to do a column switching to draw then into at least three rings or more until it corresponds to the price decline. The rules are reversed for column switching for the rise.
Buy and sell signals
1 Three-top buy signal. Three-bottom sell signal.
2 Three-top buy signal with rising peak. Three-bottom sell signal with decreasing bottoms.
3 buy signal after a high wall. Single buy signal. Högväggen shall consist of at least eight to ten boxes. Sell Signal for high wall. Easy sell signal. Högväggen shall consist of at least eight to ten boxes.Three top buy signal. We can expect the following outcomes:
33% of the signals reach 5-9-level gain (5-9%)
34% of the signals providing 1-4-level gain (1-4%)
33% of the signals gives a loss of 1-3-level loss of -1% to -3%.Trailing-stop about -3% (boxes)
Want to add moving average calculated on the values of point and figure.
sending pictures in another email.
Sincerely
Morgan Jonsson
12/18/2016 at 4:22 PM #1874012/18/2016 at 4:30 PM #18741I think that point and figure charts are not much different from Renko charts.
The first difference is : Renko boxes grow sidewards, point and figure boxes only up and down. But both have no defined time axis. You can make a Renko chart from a point and figure chart by adding each new box diagonally, instead of vertically.
The second difference (in most cases) is, that point and figure charts switch direction after at least three new boxes have been added in the opposite direction. In a Renko diagram, this happens normally after two boxes appear in the other direction. But we can as well take three or four boxes as the switching criterion.
If this is true, I think you can use my Renko automated trading system I recently posted to this site (http://www.prorealcode.com/prorealtime-trading-strategies/renko-automated-trading-system/). Just change the number of boxes needed to switch direction from 2 to 3. All other remarks I made there will also hold for point and figure charts, I think.
These would be the changes in line 23 and line 35 :
12345<span class="token keyword">If</span> <span class="token punctuation">(</span>totalbricksup<span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token number">0</span> <span class="token keyword">OR</span> totalbricksup<span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">)</span> <span class="token keyword">AND</span> totalbricksup <span class="token operator">>=</span> 3 <span class="token keyword">then</span>buysignal <span class="token operator">=</span> <span class="token number">1</span><span class="token keyword">endif</span>and123<span class="token keyword">If</span> <span class="token punctuation">(</span>totalbricksdown<span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token number">0</span> <span class="token keyword">OR</span> totalbricksdown<span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">)</span> <span class="token keyword">AND</span> totalbricksdown <span class="token operator">>=</span> 3 <span class="token keyword">then</span>shortsignal <span class="token operator">=</span> <span class="token number">1</span><span class="token keyword">endif</span>Let me know what you think.
12/18/2016 at 4:47 PM #18743Another difference between Renko and point and figure charts is, that in Renko charts a new box is also drawn in the opposite direction, when only 1 such new box appears. In point and figure charts, less than 3 boxes in the opposite direction are simply ignored. But his should make no difference for the trading system I posted.
1 user thanked author for this post.
12/18/2016 at 7:25 PM #1874512/19/2016 at 2:15 PM #1878712/19/2016 at 5:34 PM #1880612/19/2016 at 5:49 PM #18810LowerBorderBox has no value to set externally. It is determined at each bar and is the lower boundary of the price box in which the current close falls. For example : Close = 10263, box size = 20, then : LowerBorderBox will be 10260. And the box ranges from 10260 to 10280. OK ?
12/19/2016 at 5:54 PM #1881212/19/2016 at 5:57 PM #1881312/19/2016 at 5:58 PM #1881412/19/2016 at 6:03 PM #1881612/19/2016 at 6:03 PM #18817 -
AuthorPosts
Find exclusive trading pro-tools on