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.

darknite999

Members
  • Content Count

    25
  • Joined

  • Last visited

Everything posted by darknite999

  1. Hey blu-ray, How are you? No one decided to help :crap: Any luck with what we'd been talkin about? Much thanks, Darknite
  2. Ok have a good time talk soon, Darknite.
  3. ok I think i've nearly sorted this out now (finally) I think I only need to add one last bit of code in. That would be only 1 trade maximum between every natural hour is allowed. So for more depth: If there is a setup and it sells short once it has made it's profittarget of 30 ticks it buys to cover. A new trade can not be initiated until the natural hour is up. For example if it sells short at the time of 13:08 and buys to cover at: 13:59 - it can make a new trade at 14:00 or 14:01 - it can only make a new trade ar 15:00 Thanks, Darknite.
  4. Cheers, I appreciated you hard work I'll test it a little later today and preply back as soon as I've done it. Thanks ever so much, Darknite.
  5. cheers, keep me posted please:) Thanks a lot, Darknite.
  6. oki doki Cheers, i'll send it to you in about 15 mins... just need to type it alllllllllll out ignore the last message I forgot to refresh (F5) :P Thanks, Darknite.
  7. so yea, could I put my stop loss on a 5 minute bar at 2 ticks above the entry bar? if thats possible im 100% sure the stoploss will be correct everytime! Cheers a million, Darknite.
  8. lol Yeah, I'm taking a bigger hit that I should be. Grrr why do they make it so difficult to do Would it be possible if you could help me to do this please? and by a can of worms u mean possibly creating more problems for myself? Grrrrrr Thanks for eveything, Dark-nite
  9. Cheers, But is this so I can set the amount in dollars above the high or the amount in dollars it gains from the entry? Would I have to put something like. setstoploss (high + 10) if I wanted 10 dollars above the high or what? Lol, thanks once again. Darknite.
  10. Also Blu-Ray I'll be PM'ing you later on/tomorrow with more detail about my strategy etc. Cheers and much appreciation, Darknite.
  11. Just noticed your edited part, yes you can. Remove the red line below: if mp = -1 then begin buytocover ("ProfitTarget") next bar at ShortEntry - (ProfTarget*mintick) limit; buytocover ("StoppedOut") next bar at mystop stop; end; and the add this to the bottom of the script: setprofittarget( x ); Note: the profit target is now in dollar amount rather than number of ticks. Cheers Blu-Ray Great but how do I do the same to the stoploss now please? Cheers, Darknite
  12. Cheers I'll post more info in the morning (was out sorry) For some reason the strategy does not work. I've done exactly as you said, i'll show you some screen shots and what it's meant to be. It doesn't seem to trade 30 tick profit. It is usually between 2 to about 70 ticks but never 30... strange :S Cheers, Darknite.
  13. And I'm not completely sure if you understood what I meant (probably because of my terrible english but anyway :P ) I mean that once the entry has taken place it sells 30 ticks below the entry the 1st chance it gets. If it is the same bar that has made the profit target of 30 ticks or 2 bars along it will buytocover the 1st chance it gets. (providing the stoploss hasen't bought back anyway) Once again much thanks, Darknite.
  14. Thanks, Is it possible I could do it a different way. Instead of looking for the pattern on data2 I look for the pattern on data1 and trade on data2? Cheers, Datknite.
  15. Wow! Thanks so much! I now only have one problem. For some reason when using the showme all the points it plots are correct but when using the strategy it only show about 80% of the trades that it should do. Is there something wrong? Is it possible that I can buy back 30 ticks below the entry on the same bar (if the low goes down that far) if not then the 1st bar that the low gets low enough to buy back at 30 ticks below the entry? One final thing (I think ) How do I change to script so it won't sell anything when there is 1 hour till closing and then start again the next morning? (To prevent holding trades when the market has closed) Blu-Ray - I have to hand it to you and everyone else that has been helping me. I appreciated it so much. You don't understand the stress it was causing me that no one could help me. Then I found this forum Cheers, Darknite.
  16. I'm from Britain too Same I'm off to bed i'll sort it out tomorrow. Cheers, Darknite.
  17. Cheers it's all starting to make sence now!! So what would I have to do... Basically When I find the candle pattern on, for example (again), $indu I want to take the trade on DIA with the same stoploss (2 above the high) and start the trade 1 tick below and make a profit of 30 ticks... What would I need to add/change to complete the script You've been so much help, Cheers. Darknite.
  18. Oh, and also what should my "Maximum number of bars study will reference" under the strategy propeties - back-testing resolution be? What does this mean, it seems to affect my what trades it shows :S Help Thanks again, Darknite.
  19. Hi, Sorry what I meant was I want the strategy to find the setup on $indu for example and take the trade on DIA(diamonds). How do i go about doing this? Also on the script what does Minprice/Pricescale mean. Please could you break it down for me? Cheers, darknite
  20. Cheers, I forgot to mention one thing and I don't know if it is possible althought I'll ask. Is it possible to identify a pattern on one chart and then carry the order out on another one. So, as simply as I can explain Using a strategy, find the pattern on the chart and carrying out the order on another chart? Cheers, Darknite.
  21. Hey, Thanks very much for your help. I would like to place a stop loss 2 ticks above the high and sellshort 1 tick below the low i want to buy to cover 30 below where I came in. Cheers and once again thank you, Darknite.
  22. Cheers, If anyone else could help me please that would be brilliant In the mean time i'll see if I can find a sample strategy that has those commands i'm looking for (haven't found so far and the websites on google are running out :P) All I need to know is how to sellshort and I think it's buy to cover 30 points below... Grrrrr difficult :P Cheers.
  23. Great!! It worked just about so I had a look through what you told me and made a few adjustments so instead it was this: IF C[1]>C[2] and H > H [1] and H > H[2] and C < O then plot1 (h+1,"High") else noplot(1); How would I do this for a strategy please? how do I add a stoploss and tell it to sell and buy back 30 points below... Once again greatly apreciated and thanks for your help, Darknite.
  24. I hope this sums it up Once again thanks for your help it's much apreciated. Cheers, Darknite
  25. Hello, (Apologies in advanced if I have posted this in the wrong place) I'm new to easylanguage scripting and was wondering if someone could help me please. I want to write a script that will show me, on an upward trend of 3 or more candlesticks, the highest high of that trend. The new high must be a red candelstick and the trend must contain at least one green candle. How would I go about doing this please? Thanks for you help in advanced, Darknite.
×
×
  • Create New...

Important Information

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