Big Line Strategy

Big Line Strategy

a Big Line Strategy

Just played around with the idea to enter a trade around a big line because it could have more potential. I focussed on the DAX.

  • dax 5 minutes
  • 200k bars
  • spread 1
  • stoploss 1, trailing stop 1.5, profit target 2.5
  • trading times 9-18h
  • keeps positions overnight, but closes at Friday 18h

One extra criteria was needed and it looks back at high/low max 2 days

Included is a Big Line indicator which should be added to the price-chart. This makes sure you set the correct lines. The values can be used then in the strategy.

tip: in the price-chart, set settings on : vertical autoscaling; use price only

M=100 F=100 causes the DAX  to enter around the 100 lines if criteria are met.

If you set M=100 and F=50 it enters on the 50 lines. By adjusting it should be flexible for other markets. It’s not meant to optimise.

Optional is the Big Line Indicator EC for the price chart. It shows visually the extra criteria.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. MARCO111 • 12/06/2017 #

    Hello, when I enter the code, it responds that I have to change the variables and the system does not start

  2. Ludde500 • 12/06/2017 #

    Dosen’t work “Modifiy your code for automatic trading”

  3. noisette • 12/06/2017 #

    Thank you Paul. We perhaps have try if it is more efficient with only 1 trade/day for each level.

  4. raphaelopilski • 12/06/2017 #

    there is a problem with the %trailing stop. Doesn´t work in ProOrder.

  5. Paul • 12/06/2017 #

    Please remove the parameters and set values M and F to 100 in this code.
    In the code add manually a trailing stop posted in the library. My purpose was for backtesting first.
    @noisette. Thnx for the idea! I will have a quick test. Right now it has too many trades, but it’s a good platform to build on.
    I have some ideas how to proceed to reduce those but more idea’s are welcome !
    ps. To get a complete result including January 2015. Set timeframe for i.e. 10 minutes and switch back to 5min. January is now included which makes long and short gains more equal and profitable.

  6. MARCO111 • 12/06/2017 #

    Hi Poul, it still does not work. Can you post the correct code again?

  7. Yannick • 12/06/2017 #

    Hello
    There is a mistake in trailing stop code, I think that this should fix the problem
    sl=1 // % stoploss
    ts=1.5 // % trailing stop
    pt=2.5 // % profit target
    tsconvert=ts*close/100

    // build-in exit
    SET STOP %LOSS sl
    SET STOP TRAILING tsconvert // trailing % doesn’t work , value must be written in points
    SET TARGET %PROFIT pt

    I will run in demo

  8. Paul • 12/06/2017 #

    About the trailing-stop the way it’s coded. That works for backtesting only, just look at the chart and the detailed rapport, tap “order list”. It says for some closed positions “trailing”.

  9. Jonny • 12/06/2017 #

    sorry paul, but system says that is not possible to put many stop order combined…what have to do?
    thanks

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+1 more likes

Related users ' posts
Ludwig Bonjour Merci pour le code, je souhaite intégrer un break even et mette en place un réinves...
superfalcio hello, this strategy is pretty interesting, anyway on index after diferent suggestion and im...
Fralex Hello everyone I optimized the original “LongOnly-DAX-4H-TMA-Channel” algorithm over a pe...
Dom Hello, hello....je commence le trading et découvre par la même occasion le codage....et ce n...
Nicolas Merci, ça fait plaisir !
Be-n Bonjour tout le monde ! Dans l'indicateur de tendance, j'ai du mal à saisir la nuance entre ...
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...
YvesRobert @robertogozzi. It's done. Thank you
YvesRobert Hello Roberto, some questions about your strategy. 1 - Do the 2 lines SET TARGET pPROFIT T...
robertogozzi 1. The 2 lines SET TARGET pPROFIT TP and SET STOP pLOSS SL are always executed, each bar. Bu...
avatar
Anonymous Hi robertogozzi - thank you very much for sharing this strategy. I have performed various ...
robertogozzi Thank you samsampop.
Dotan Hello guys I really appreciate this coding effort but can I use this code for Mt5 Forex Trad...
Gubben So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
pat95162 Salut Pourquoi je n'ai pas les même résultats que vous
UkCoopDownUnder Any hints for us, on which variables we should be optimising ? As of November 2020, the cu...
Peter I recognized a possible problem with the timeframe / Defparam variables. As far as I know, t...
superfalcio Hello Peter, it is long time i have been watching this strategy, very good and interesting ...
Peter I indeed do have different modified strategies in the market. In the past my variants perfor...
JJ Tec Hola. Me gustaría contactar contigo para ver la estrategia..
nilsla1981 Has someone already tested in real ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
JOKAMAURICE Thank you but I don't really understand. The values don't fit with what I see on my chart. I...
Alberto Aguilera Hi! Thanks for your strategy Anyone can check it with 200 bars?
TempusFugit Hi, this simple system for DOW and only shorts has worked quite well, maybe because of its q...
phoentzs Unfortunately, I never pursued this strategy further. Maybe I should take a look with what ...
Vonasi Yes that was the issue. I have posted an updated ITF file here: https://www.prorealcode.com/...
crolakstrading @vonasi Thank you for fixing the issue! This is a great indicator.
gregoire good evening vonasi , I had made the request to create this indicator a few years ago and I ...
Giogio hello dear Vonasi, thank you for your indicator, can I ask you for some help in order to let...
Pottar24 HI Vonasi I would like to know how can this algorithm give me the value of the last max e mi...
parthapersonal Hello Vonasi, Great work. Is it possible to replicate this to get values of "Price Line" (1...
tobytarczy Hi Vonasi, Sounds lovely, I race yachts around europe myself. Most regattas cancelled unfor...
mlouys Hello Vonasi thank for your work ! A question how can we do it for minutes ( or 15 min or x ...
Vonasi I think that would be possible but probably in a whole new indicator as detecting when a new...
Vonasi That should be possible - I'll add it to my list to work on!
thierrybl Thanks a lot
B-ling1 Hi Vonasi, I love this indicator - good job! Just one question: If I want the monthly OHLC L...
datageek How do I change the thickness of the line or change it too dashed lines? Kind regards
lkiklkik NE fonctionne pas ( ou plus ... )
Nicolas il faut modifier toutes les références à top par itop et bottom par ibottom. Ces mots étant ...
darbes Hi How does it go on live ? JC
antonio73 Balmora74, io vedo che funziona anche su timeframe ad 1 minuto con piccole ottimizzazioni, t...
Juananantoniorodriguez hola buenas, a este sistema automático, Cómo se le podría poner un stoploss de beneficio sim...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
Vonasi There is another version of this indicator that can plot the same lines but onto an indicato...
Martin35 Hello Vonasi, do you think it is possible with PRT to code with the same principle as on thi...
abhay I am getting a shading between the lines, how can I avoid that. I just want to see lines as ...
Vonasi Delete the 'Color Zone' in the indicator settings window.

Top