Discussing the strategy VECTORIAL DAX (M5)
Forums › ProRealTime English forum › ProOrder support › Discussing the strategy VECTORIAL DAX (M5)
- This topic has 1,260 replies, 124 voices, and was last updated 2 months ago by Greger2346.
-
-
10/08/2019 at 11:06 PM #109663
Good evening fifi743
Very interesting you include resistence week & daily.
It’s a concept, although different, I have been working too! It focus on the big lines (from my old strategy) and if it passes it let’s it run a bit till a small bounce.
Especially if you remove the trailing stop and use breakeven & the biglines it has good results. Then to top it off you can included a bigger trailing stop & profit target to reduce missed opportunities but that’s a small difference.
This is my developed code for profit taking.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960if enablebp thenif not onmarket or ((longonmarket and shortonmarket[1]) or (longonmarket[1] and shortonmarket)) thenBLmaxprice1=0BLminprice1=closeBLexitL=0BLexitS=0endifif onmarket then// correction on orderprice for caculating linesif longonmarket<>longonmarket[1] or shortonmarket<>shortonmarket[1] thenfocusprice=orderprice+(Factor/Divider)endifCurrentPrice = round(focusprice)AboveLevel0 = CurrentPrice mod MPmodStartLevel = CurrentPrice - AboveLevel0Level10Up = StartLevel + (1*Factor)Levell0Down = StartLevel - (1*Factor)adaptlevel = (StartLevel/100)*dtlcloseLevel10Up= Level10Up - (adaptlevel/(underlaying/100))*pointsizecloseLevell0Down= Levell0Down+(adaptlevel/(underlaying/100))*pointsizeif longonmarket thenif close > closeLevel10Up thenBLexitL=1endifendifif shortonmarket thenif close < closeLevell0Down thenBLexitS=1endifendifBLmaxprice1=max(BLmaxprice1,low)BLminprice1=min(BLminprice1,high)if BLexitL thenif high < BLmaxprice1 and close[1] < open[1] and close[2] < open[2] thensell at marketendifendifif BLexitS thenif low > BLminprice1 and close[1] > open[1] and close[2] > open[2] thenexitshort at marketendifendifendif//graph BLexitL//graph BLexitS//graph BLmaxprice1//graph BLminprice1//graphonprice closeLevel10Up//graphonprice closeLevell0Down//graphonprice StartLevel coloured(121,141,35,255) as "StartLevel"endif12345// big line exitdtl = 0.25 // % distance to lineFactor = 200 //MPmod = 100 //Divider= 2 //A trailing stop often surrenders profit, 0.3-0.5% of the maximum gain so I searched for an alternative to secure profit where’s it’s likely to bounce.
10/08/2019 at 11:09 PM #10966410/09/2019 at 6:40 AM #109669good-morning Paul,
I was thinking about a cycle indicator
example
when the price is between S2 and S3 there is a great chance of being bullish and when it is between R2 and R3 to be bearish
I put on the chart the supports and resistances weekly and daily, and I observe the behavior of the price10/09/2019 at 9:20 AM #10969910/09/2019 at 10:36 AM #10971210/12/2019 at 9:05 AM #109993Hello Paul,
It is not possible to test Vectorial-DAX-M5P-_test2 in real life because an error message is registered. The “Graph” statement can not be used in automatic trading.
Do you have the solution? Thank you10/12/2019 at 9:57 AM #110000Just remove those lines or, even better, comment them out placing the double slashes (//) at the beginning of the line.
10/15/2019 at 11:09 PM #110284Hello eckaw,
yes I will share it but not right away.
I am looking to do a cycle fitre
Hi fifi743!
Did you improve the cycle fitre? We are impatient to test the V2 of your strategy!
Thanks
10/20/2019 at 7:57 PM #11066310/20/2019 at 8:27 PM #11066710/20/2019 at 9:40 PM #110672AE – it is not necessary to quote the last post! Only use quotes to specifically highlight a section of a previous post or to show who you are specifically replying to if there have been several different posts from different forum members. I have deleted the quote from your post. 🙂
10/20/2019 at 10:05 PM #110674Hi Fifi, many thanks for your great job !
I want to test the strategy in real but I cannot start it as I have an error message : the “Graph” instruction cannot be used in automatic trading.
If I remove the line, it doesn’t work and if I put the double slashes // at the beginning of the line 47 as suggested by Roberto, it also doesn’t work.
Would you pls be kind to double check and I am sure you will find the solution !
Thanks for your help in advance !
10/21/2019 at 10:02 AM #110692buenas tardes,
aquí está mi progreso.
cordialmente
First, thanks for your great work.
How does the FILTRE_Prise_Position.itf filter affect the Bot in the actual operation? Does the filter manage the bot? Sorry if the question is absurd, but I try to learn in this complex world.Fifi can you tell me, please, how does Filtre work?
10/21/2019 at 2:04 PM #11071010/21/2019 at 2:08 PM #110713 -
AuthorPosts
Find exclusive trading pro-tools on