Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Blu-Ray

Market Wizard
  • Content Count

    512
  • Joined

  • Last visited

Everything posted by Blu-Ray

  1. thrunner, Thanks for doing that, it's much appreciated. James, Would it be possible to add "tsw" ( Tradestation Workspace ) to the list of attachments, it might make things easier in the future. Cheers Blu-Ray
  2. Darknite You would need to set up $indu at data2 within the strategy. If you want, send me a PM with your email address and I'll code it up for you and also send a tradestation workspace with the chart and strategy already setup. Also let me know what timeframe you want them in ( same ? ). I'm off to sleep :sleep: now as it's past midnight here, so I'll sort it out tomorrow. Cheers Blu-Ray
  3. Insert the indicator onto the chart, then right click and click on "edit easylanguage", as long as you've got TS8 or if you want to just see the code, I've already posted it on post#4 of this thread.
  4. Just set it at 50-100, ideally the lowest amount it will let you do. What it means is that the strategy will reference, for example 50 bars, before it will start to calculate the strategy. Hope this helps Blu-Ray
  5. Darknite All you would do is set up $indu at data2 within the strategy, easy enough to do, but would need to know if your entry, stoploss and target are all based on $indu or DIA. Minprice/Pricescale is easylanguages way of determining what value a minimum tick is worth. It's easier doing it that way so if you wanted to put the strategy into a different market with a different tick value, then you can still choose your target & stoploss via tick amount. Cheers Blu-Ray
  6. John Emery done a webinar with TTM on Saturday 22nd March, I'm just wondering if anyone here is a member of TTM and have a copy or link to the webinar he presented. Cheers Blu-Ray
  7. Thanks for the chart J-S. The reason I asked for a chart is, as we all know, you can look at a chart and say " it's in an uptrend", but putting that into coding language is not so straight forward. Let me explain using your chart. You could go for, for example, 3 higher highs.........so the code would be if H > H[1] and H > H[2] and H > H[3] then plot............ but using your chart it would stop where I've marked A. Alternatively you could use the code so if the high is higher or equal to previous bar, this would get you above A, but it would also signal an uptrend at B for example. You could then move on to higher highs and higher lows and this would again stop at A. You could then do as above so the high and low are greater or equals to the previous, but realise that could result in C. Another thing that you might ( edit: you will ) find is that where I've marked D. for example if that low was 1 tick above the previous low then your downtrend is invalidated ( via the code ) but you're still clearly in a downtrend. Basically what I'm trying to point out is that although visually we can spot a trend, but putting that into code needs criteria. Hope this helps Blu-Ray
  8. J-S Thrunner has posted some excellent material for you, but you seem to have dismissed it. I don't mind coding something up for you, but what you're describing without a pic doesn't make sense, as you can see in my chart below all 4 point moves are not equal. Now seriously, I've asked 3 times for you to post a chart, but nothing yet, you keep saying just a 4 point move without a 6 tick retracement. Heres the code you're after but it's missing a vital part: Inputs: UpColor( Green ),DownColor ( Red); Condition1 = UpTrend { this being your version of an uptrend, eg 3 higher highs or 3 higher closes, or 3 closes above a moving average, above ATR.....etc } Condition2 = DownTrend { Opposite criteria for uptrend } If Condition1 then Plot1(high,"UpTrend", UpColor); If Condition2 then Plot2(Low,"DownTrend", DownColor); Cheers Blu-Ray
  9. Yes it is possible, for instance if you see the signal on a 5 min chart but want it executing via a 1min chart, yes just let me know what you want. The only thing is if it's a minute / tick chart combination, then thats beyond me, as it's requires ADE ( All Data Everywhere ) and I'm not clued up on it yet. Cheers Blu-Ray
  10. No Probs, just change the input in stoploss from 1 to 2 and the rest is already in the above code. Cheers Blu-Ray
  11. Darknite It would depend on your particular entry and stoploss criteria, Here's a strategy code I've done, but I've based it on entry 1 tick below the low of the reversal bar, with the stoploss being x amount of ticks above the high of the reversal bar ( I've made that section as an input, so you can decide ). Inputs: ProfTarget(30),StopLoss(1); { These inputs are in number of ticks } Vars: ShortEntry(0), Permission(0), Mintick(0), mystop(0), MP(0); MP = marketposition; Mintick = minmove/pricescale; Condition1 = C[1]>C[2] and H > H [1] and H > H[2] and C < O; if condition1 and MP = 0 then begin ShortEntry = Low - (1*mintick); mystop = High + (Stoploss*mintick); permission = 1; end; if permission = 1 then begin SellShort next bar at ShortEntry Stop; Permission = 0; end; if mp = -1 then begin buytocover ("ProfitTarget") next bar at ShortEntry - (ProfTarget*mintick) limit; buytocover ("StoppedOut") next bar at mystop stop; end; If you have exact entry and exit criteria different from above, just let me know and I'll amend it for you. Hope this helps Blu-Ray
  12. Apologies in advance, but how are you defining an uptrend ? I'll have a look into after hours, but if you can post a pic it would really help. In the meantime if anyone else comes forward............ Cheers Blu-Ray
  13. Thats not a problem and it is possible, but you would need a full list of all the criteria required for both entry and exit.
  14. mcichocki I'm unsure about Ninja, but you can with Tradestation. Cheers Blu-Ray
  15. J-S I think the main question would be what criteria you are after to define an uptrend, eg higher highs and higher lows, higher highs only, or consecutive higher closes etc........ if so how many bars.......... This would need to be worked out for it to be put into a TS code and that was the reason I was asking for a couple of pics to see what you mean. Hope this helps Blu-Ray
  16. And following on from Mister Ed and BlowFish, I think it sounds a great idea, and I'm very interested to hear more as I trade the Eurex. Please could you explain more on how you incorporate it into your trading. Cheers Blu-Ray
  17. Hi J-S Could you post some pics of what you're referring to. ( a picture can speak a thousand words ) Cheers Blu-Ray
  18. If you want any help programming or want me to program something, just give me a shout and I'll do my best. With regards to partial/full automation, I have programmed various codes to fire off signals, but they're not black box systems, they all require discretion, and as you say with your methodology is not a X/Y then Buy...... So I think it all comes down to what you're expecting to come of it. Cheers Blu-Ray
  19. hehehe....nice one Blowfish. :o The only thing I would add to the line would be : H > H[2] and H > H[3] and H > H[4] Just incase one of the previous candles had a higher high leaving a long shadow. As with Blowfish, I've never tested it, but give it a try and let us know how you get on. Cheers Blu-Ray
  20. My apologies, I got the wrong end of the stick ( as usual :o ) Open up the ELD code and replace this line: if SmoothedBA <= 0 then color = DownColor else color = UpColor; with this one: if SmoothedBA <= SmoothedBA[1] then color = DownColor else color = UpColor; Hope this helps Blu-Ray
  21. errrrrrr..............isn't it already coded with the color change you mentioned, it certainly looks like it as per the chart on the first post. edit: after looking at the code, it should definately change color ( remember this code works on live data only ) Hope this helps Blu-Ray
  22. Well said, I think the BOE is swinging more towards containing inflation as well. Cheers Blu-Ray
  23. Wow, Thanks very much and thanks for the congrats as well.:thumbs up: Cheers Blu-Ray
  24. Paltalk's a good idea, I've used it a couple of times and it's good, however you would need to make it into a private room , ie. requiring a password, which could be posted somewhere on this site. As I've noticed there's constantly people just popping in and out of rooms..........just my thoughts anyway, but I'd be up for that. Cheers Blu-Ray
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.