Conditions that should preferably be included in LONG strategies
Forums › ProRealTime English forum › ProOrder support › Conditions that should preferably be included in LONG strategies
- This topic has 8 replies, 6 voices, and was last updated 7 years ago by
Vonasi.
-
-
03/10/2018 at 4:05 PM #64964
Whatever the strategy might be, in whatever timeframe, I am trying to focus on conditions that should always be included in the code for entering or exiting LONG. The purpose is obviously to increase the percentage of winning trades and gain without lower the number of trades. Numbers must of course be tuned in based on time interval and other factors. Here are a few. Do add other conditions as well, thank you!
General conditions for entering and exiting LONG123Enter: RSI[10](close)< 66 and CCI[6](close) < 190 and (TEMA[2]>low)[3] and BULLExit: SmStoS<SmStoS[2] and BEARBullish and Bearish engulfing line12345678910111213// Detection of a bullish engulfing lineCondition1 = Close[1] < Open[1]Condition2 = Open < Close[1]Condition3 = Close > Open[1]Condition4 = Open < CloseBULL=Condition1[2] or Condition2[2] or Condition3[2] or Condition4[1]// Detection of a bearish engulfing lineCondition5 = Close[1] > Open[1]Condition6 = Close < OpenCondition7 = Open > Close[1]Condition8 = Close < Open[1]BEAR=Condition5[4] or Condition6[4] or Condition7[4] or Condition8[2]03/10/2018 at 4:19 PM #64965Great idea soulintact!
If popular and plenty of snippets added by members then you could ask for the post could be moved to become a sticky!?
I have long thought we may all be reinventing the wheel?
This thread could become a source of existing wheel designs / snippets which evolve into even better snippets!? 🙂
03/10/2018 at 4:54 PM #6496803/10/2018 at 7:42 PM #64973@GraHal, your idea of a specific topic devoted to functions/snippets of code is welcome.
Post it a suggestion for improvement of this forum.
1 user thanked author for this post.
03/10/2018 at 7:49 PM #6497403/11/2018 at 1:10 PM #64993Thank you Roberto and FredI have started a Thread, see here#64990
maybe you would like to add your snippets to the Thread above?Cheers
GraHal1 user thanked author for this post.
03/11/2018 at 9:43 PM #65020@GraHal, your idea of a specific topic devoted to functions/snippets of code is welcome. Post it a suggestion for improvement of this forum.
I already posted a suggestion that we could have a searchable library of code snippets. Nicolas seemed quite keen on the idea but as we all know he is a very busy chap! Maybe a thread with code snippets could be a good starting point to see how useful or popular it is.
03/11/2018 at 10:38 PM #65022Yes I agree and thought the same Vonasi. I had also suggested a searchable / sortable Library, but also felt guilty putting more work onto Nicolas.As you say Vonasi, my Thread will serve as a trial. The google sheet may be an easy way to achieve a sortable function but does require users to enter brief details.Do you think the Thread I started here GraHal wrote: is logical under Trading Discussion Forum or would be better / used by more under ProOrder Support Forum?
Cheers
GraHal03/11/2018 at 11:08 PM #65023Do you think the Thread I started here GraHal wrote: is logical under Trading Discussion Forum or would be better / used by more under ProOrder Support Forum?
I think that ProOrder Support is more appropriate as they are code snippets for writing strategies more than they are general discussions.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on