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?

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

  1. MARCO111 • 9 days ago #

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

  2. Ludde500 • 9 days ago #

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

  3. noisette • 9 days ago #

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

  4. raphaelopilski • 8 days ago #

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

  5. Paul • 8 days ago #

    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 • 8 days ago #

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

  7. Yannick • 5 days ago #

    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 • 4 days ago #

    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”.

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
ALE
14 hours ago
ALE P01=true
ALE I will codify an automatic strategy to search the best sets up for major currencies and ind...
Genotik Merci bien ! Excellentes fêtes de fin d'année
Bin
1 month ago
TempusFugit Thanks Bin, nice code, I can use several ideas of the way you build it
DarioMazza Thanks Bin, great concentration, i understand the first idea, but may u indicate me the asse...
Bin Hi Mazza This robot is optimized for DAX30.
Thomas007 It's a very powerful tool. Thanks for sharing! The Signal crosses the Trader a few times but...
rb-72 Thank you, area of twist by dilatacion of the price, missing part of the code that is not pu...
Thomas007 after reading your blog now I understand why there is only a part of your code here. I'm try...
TempusFugit My timezone is UTC+00:00... and I think that´s the backtest timezone
masala Thanks for the idea. Personally I don't like to enter trades without a hard stop and also I ...
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Genotik Merci de votre contribution !
Leo Hi all, I posted a new version of this indicator ( I just add arrows to spot the local maxi...
Trading_En_El_Ibex35 Muchas Gracias por compartir este interesante indicador. Un saludo
primo1 Bonjour Nicolas, sur quelle échelle de temps minimum tu utilises l indicateur je pense...
primo1 Bonjour Nicolas Pour créer la strategie comment peux tu traduire l"apparition des points....
Nicolas Exemple dans ce sujet du forum ProOrder : https://www.prorealcode.com/topic/perfect-trend-in...
Inertia Sorry lysan2, the exact one for long only doesn't work well. Perhaps, you may have to look ...
andreag76 Long version... not very good //DEFPARAM Preloadbars = 3000 DEFPARAM CumulateOr...
Inertia @Andreag76 Thank you but your code is broken. Variables are missing and the trailing stop...
Leito Nice aproach, have you ever try to implement it for patterns recognitions, like double top/b...
Wing Not yet but I plan to.
Leo Have a look in this Forum, I got something interesting for you... https://www.prorealcode.co...
JM David, Thanks a lot and next week I begin the test of this strategy in real... You have ot...
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Toto le Heros Hi Nicolas, Thanks for this. Looks interresting. Unfortunately the display on my price gra...
Nicolas Use vertical axis alignment only in indicators setting
DonMasser Nicolas ( or anyone) would you know how to program a 'WAIT'. In other words, in auto tradin...
Nicolas Good job, but I think there is something wrong in the description since trade direction is c...
gackeen Scusa Pier, scusate tutti, sono nuovo. Ho caricato il file e mi viene restituito il messaggi...
JR1976 HI Nicolas , I tried to copy paste but not import directly and the code works well I hav...
mcosta This code doesn't work on 10.3 platform(IG), neither with copy/paste nor with itf import, an...
verdi55 Only MaBotzy in line 127 should be set to a large value, for example MaBotzy = 10000000. MaB...
verdi55 The system greatly favors long over short positions, because MaBotzy=0 in line 127 and MaBot...
traderfred Hello Verdi, I'm not sure to understand what you mean..Did you tried to test with your cor...
Nicolas Thanks for sharing your automated trading strategy idea. Even if you accumulate loosing orde...
Maz Ok. Potential here to build onto this. Have opened a forum thread for further discussion: h...
ALE
7 months ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
14
Strategies
ALE Thanks as always Nicolas
Toto le Heros It looks very interresting. I have one question related to the following result in ProbackTe...
StefanStrand I tried running this on IG ProRealTime and get the following error message, why could this b...
Francesco78 Hi Keemax, I dont have it on real at the moment, in any case the strategy is very long term ...
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Juan Salas Hi Francesco, Yes, this is pretty much the question. The system ask me a number of contract...
Francesco78 ok sounds good, you can put min size = 1 and go for the seasonable breakout too, also you ca...
JR1976 HI all , anyone test 200k bar for this great code ?
avatar
bjoern With the same parameters? For me the results are negative
avatar
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
Elsborgtrading the indicator works on all instrument, question is if the strategy will work. You have to do...
otty82  all right. thanks
mmichael Hello, I noticed that the indicator shows the initial balance of today but also for all the ...

Top