Jump to content

William1713006271

Members
  • Posts

    1191
  • Joined

  • Last visited

Posts posted by William1713006271

  1. Currently it's around 5 hours before the market open at Monday.

     

    I think EU will gap up at least touching around 1.3425.

     

    It's just a price action analysis though...

    - coz the price is closing nearly very bullish, near the top of yesterday high.

    - the candle at D1 is a little bit triple bottom.

    - the price is around 1.3380 a number which I think will break 1.34xx.

    sorry, can't really give any detailed technical analysis.

     

    Well, I entered long 2 lots. It's one of the privilege having an account at Oanda, that we could trade even when the market is closed :D

     

    I could be wrong though, let's just see what happens on Monday.

     

    Regards,

    The foolish and greedy me.

  2. I think from all the titles that you've put I think I've only read the Secret of Economic Indicators. Can't remember whether it's good or not though.

     

    If you are looking for price action or naked trading then I could suggest these classic books:

    - bird watching in lion country

    - turtle traders

    - Kathy Lien books

    - Boris schollberg books

    - Suri Dudella books

    - Larry Williams books

  3. Thanks SoundFX for your experience sharing. I'll put this on the front page also as #5 so that we all may get some kind of index of all the latest techniques in this thread. :D

     

    My question to you SoundFx, i've tried this kind of technique before but normally the stop loss is quite or even very large. Beside playing the money management, do you have any other suggestion to solve this problem based on your experiences?

     

    Hi there Gyverd, love to see you back with this login name :D

    Yeah, I have to agree with pipfighter that your explanation is quite limited. Do you mean "previous high" = "last highest daily swing"? So, basically if you see a H1 candle closing above the highest daily swing you enter long? How about the time, do you have any preferred entry time from your experiences?

     

    Thanks for both of you for sharing the experiences, any other?

     

    Regards,

  4. but very soon I saw that this will not work out and that I was only losing my money

    That's exactly what I felt back then. Quite the same huh :D I miss your avatar though, Barbara.

     

    When we talk about Naked price trading do we consider Major S/R levels, Pivots, Fibo Retracements, Trendlines/Channels or just simply looking at the price as numbers?

    Do we consider also Fundamentals like news as a part of naked PA strategies?

    For me, naked trading still includes patterns. But when talking about price action, I prefer to talk only the price alone. But that's me. Any naked trading "systems" that works are welcomed. I really like to know about it.

     

    I think rather than discussing about patterns at general, I prefer that we talk about something that is more experience-based.

     

    I mean, the explanation by soundfx, is very good and I really appreciate him/her for pointing it out for us. Thanks a lot bro/sis. But, I still think, it's somewhat text-based. I mean that's something that we can read in any ebook or forums.

     

    I think I prefer something like... (e.g. only)

    "Hey, Look at eur/jpy. since the beginning of this year, it keeps making head and shoulder on H1. I keep banking money with this pair."

    or (e.g)

    "Hey, I use the the price action technique from www.domain.com and it constantly giving me an average of 30 pips per trade since February this year. It's very good, you guys should check it out."

     

    I mean, sharing your resources like what Uniques do, is good, but it lacks the real time experience. You can share it on the appropriate section, similar to other systems. Talking about SR or patterns in general is very good, but Darmawan has even started a special thread on Technical Analysis section talking strictly about GBP/usd.

     

    So, I think it's better for us to talk about patterns / naked trading / price action from our own experiences. The success you have, the failure you have. Let's help each other by doing that. e.g.

    "look at eur/jpy at last week. I see head and shoulder pattern, I put a sell limit at xxx.xx price because I think if the price has reached that point then it will form a valid head and shoulder, but it failed. Anybody could help me? Anybody shorted the eur/jpy with success?" something like that is very good isn't it?

     

    Just my two cents' date=' are Renko charts better for Price Action trading since it disregard time and only shows portions of price movement that actually 'matters', therefore eliminating most false signals and noises? [/quote']

    I don't have any experience with Renko chart, but I think eliminating the time factor would somewhat erasing the feeling of the market. But, again, I have no experience with renko so don't take my words on it.

     

    Rather than following bad signals blindly' date=' you can make a decision to override signals when you can see the system is telling you to go long at a major resistance level.[/quote']

    Very nicely said. It also keeps happening to me. To tell you the truth I still have 68 indicators on my chart. How's that for technical analysis :P But, each time the price action shows something else, I abandon all those 68 indis and trust the price action only.

     

    soundfx, from your words, I can see that you are someone that has quite a lot of experiences on forex trading. Could you be kind to share your experiences with us? I would be very grateful.

     

    regards,

  5. Hi all,

     

    It's been a long time since I started a new (long) thread on this forum. Being busy and lazy of me >:)

     

    Well, I know that it's quite rare to find any price action "guides" to learn, so how about we make one ourself? Let's all try to add your knowledge here and there to make this a good and usable "guide"

     

    For beginners, you might find the word "naked trading" a weird phrase. Naked trading is trading without any indicators. Some may said that using only chart pattern is considered naked trading. Some said that even chart patterns are not allowed in naked trading. I myself don't care which one is true. If it's not making any money for me, I would care very less about the strict definition of naked trading.

     

    Now, the definition of price action is... Well, the action of the price. It's a very vague term that in my personal opinion is naked trading in a very naked way. No indicators, no robots, no patterns, just price and the movement of price.

     

    Like what should you compare price action traders? Price action traders are like a noble man (or woman if you are femme trader) fall in love in the 1st time. :"> He (the noble man a.k.a the price action trader) would look with love and awe at the woman (the price) he loved. He looks the beauty beyond any cosmetics or make ups (indicators). He looks the beauty beyond any hairdressers (robots). He does not judge whether the woman's nose is too long or too big (no chart pattern), he does not care how long the head and shoulder's proportional height. He sits there quietly hours by hours looking with love at how the woman react. He does not grow tired or bored at looking how beautiful the woman really is. He looks with love when the woman jumps in euphoria. He looks with love when the woman sinks in sadness. He just looks with love. Love at the woman. The woman herself. Her true self. Nothing else. :">

     

    Ok, back to earth. ;))

     

    I know that price action is very hard to do, mostly because it takes time. A very long time to understand, and most people don't have that much time. For all price action traders out there, I really hope that we could collaborate and help each other by sharing your experiences here so that we could shorten our learning time. Yes, I understand that this kind of knowledge could not be taught and must be gained by experiences. Even if you share it here, we must also experience it ourselves to gain the same understanding as you are. Thus, we find no scam artists on price action. Yes, I understand that it took a very long time for you to gain this understanding. But, by helping each other we could shorten our "foreplay" time :P

     

    Let me start with my own. These experiences are from EURusd only.

     

    #1 === Psychological round number (double O) ===

    - Many people said that price with double zero, e.g. 1.3100, 1.3200, 1.3300, etc are good as Support and Resistance.

    - In my experiences with EURusd... not true.

    - Yes, you could draw a very nice and "perfect" SR lines using each and every round number prices. It's beautiful on chart, it's almost dead-on. But in my experiences, not all of them made me money. I want money, not beautiful chart.

    - In my experiences, if on H4 or Daily chart the double O price has been breached 3 times or more in at least the last 100 candles, then the double O is useless as SR. Yes, it's a beautiful sandwiched SR lines, but it does not make me any money. It's useless for me. I don't see them as double number anymore.

     

    #2 === Price moving to 0.xx20 and 0.xx80 from 0.xx50===

    - This price action idea was 1st introduced to me by Boris Scholberg. He said that if price has moved to 0.xx80 from 0.xx50 without moving back to 0.xx50 again, then it would have high possibility to move to 0.x100. Vice versa if price has moved down to 0.xx20 from 0.xx50 then it has high possibility that the price will go to 0.xx00. e.g. from 1.3050 to 1.3080 then it will go to 1.3100. vice versa from 1.3050 to 1.3020 then it will go to 1.3000

    - At 1st I thought this would be a great idea to gain 20 pips blindly.

    - My experiences on EURusd... this only works 50%. Not making me any money.

    - I think there are more criteria. I think there are some additional movement criteria that he didn't mentioned. Well, it was a free report so I can't expect much.

    - If you have better experience in this, please, please, please share.

     

    #3 === the buffer price of 0.xx27 and 0.xx70 ===

    - This is my "creation" from trying to get the experience on #2 and #1

    - Have you met this situation: price went up fiercely and has met the double zero price. e.g. 1.3100 It hesitated for a while moving only betweek 1.3090 to 1.3110 You think the price has already run out off steam and exit your long position. Then suddenly price went up to 1.3111, then 1.3115, then 1.3109, then 1.3117, then 1.3111 then 1.3121. Seeing the price movement, you entered long again. But then not long after than price fall down to 1.3060 :D yeah, life sucks.

    - This is famous for the situation of "big eats small". We know this is the place where brokers take the limit and stop around round number prices. Broker eats the players.

    - In my experience with EURusd... 0.xx27 and 0.xx70 is a safe number to put a break high and low respectively. If price is able to up touch 27, then it has high probability that it could move up to 50. If price is able to down touch 70, then it has high probability to down touch 50.

    - It's not perfect, but the probability is quite high, I would say this price action has a probability around 80% being true.

     

    #4 === 1st hesitation on small daily range break out ===

    - again this one is from my experience on EURusd. I normally see this on M30 chart.

    - This is the ONLY situation where the saying "follow the market" could really be applied, imho.

    - There are several strict conditions that have to be met for this price action to happen.

    - 1st market must be running at normal speed before hand. If the market is calm then you could get bigger profit.

    - 2nd on the M30 chart, you suddenly see a wild movement on current candle. It was normal the candle before, but at this candle, it suddenly went wild. If there are fundamental news behind it, it's better. However, this is not very effective on NFP though.

    - What I mean wild is that the current running candle is as big as two or 3 normal candles. That is wild.

    - 3rd, the price has to be breaking the daily range. It has to be on the same wild candle. It has to break, e.g. 5 pips. but no more than 10 pips.

    - 4th, the price move back to the last daily range leaving only the candle tail on the running candle.

    - You enter the position according the break.

    - Expect a profit of 20 to 30 pips in several minutes.

    - This has a high probability of 85%

    - If the previous daily range is quite small, below 60 pips, you could expect around 50 to 80 pips profit if you ride the trend. This riding could take up to 6 hours though. So you really need a big heart when the price moving up and down to your BEP.

    - You do not need to wait for the candle to close. As long as it breaks for 5-7 pips and come back, enter. If you can enter on the same wild candle it's better. Most of the time, in my experience my entry time is around 2 to 3 minutes before this wild M30 candle close.

    - This normally happens on European time until US 1st session.

     

    That's all that I can remember right now. It's been quite a long thread already.

     

    Again, I know that price action is very hard to do, mostly because it takes time. A very long time to understand, and most people don't have that much time. For all price action traders out there, I really hope that we could collaborate and help each other by sharing your experiences here so that we could shorten our learning time. Yes, I understand that this kind of knowledge could not be taught and must be gained by experiences. Even if you share it here, we must also experience it ourselves to gain the same understanding as you are. Thus, we find no scam artists on price action. Yes, I understand that it took a very long time for you to gain this understanding. But, by helping each other we could shorten our "foreplay" time :P

     

    So, what do you think of my experiences above? Could you add or even fix mine so that it would have higher probability to benefit both of us? Would you be kind enough share your experiences? Or, nobody is actually following price action? Anybody would like to add #5, #6, etc?

     

    Regards,

    the silly me

     

    Edit:

     

    #5 === H4 spike by SoundFX ===

    http://indo-investasi.com/showthread.php/5799-Price-Action-101-(naked-trading-w.-no-indi-no-pattern-no-robot)?p=66690&viewfull=1#post66690

  6. I'll try answering from my point of view.

     

    which is the leading indicator in producing both positive @ negative divergance signals?

    MACD is widely used for divergence. After all the name is MACDivergence

     

    which is the oldest (senior) indicator,but still remembered & and work for us still now ?

    Moving Average

     

    which one's signal is most accurate, easy to visable, and non complicated ?

    Moving Average

     

    how many indicators attached in charts by profesional traders (both main chart and chart window ) ?

    It's a secret. But for $99,999 I will tell you about it.

     

    If one of your favourate indicators produce buy signal another one gives sell signal at the same time

    what the reason behind this ?

    It's because the user is using 2 different indicators. Bad system.

     

    can a indicators signals sustains or overcome economic reports?

    Depends on the news and market sentiment.

     

    If a indicator produce suxessful signal is the credit goes to its parameters used ?

    sometimes yes.

     

    each indicators suxessful signal producing is depend upon what?

    User interpretation. Different user, interpret differently. So different successful rate.

     

    it is possible for a techinical trader tradingl with out using any indicator ?

    Yes. Naked price action is one of the best and most successful trading system out there.

  7. Re: Why Not to Trade MA Crossovers..

     

    Clarence Chee from T3B Forex introduces modified MA in his trading system especially PIPS Intraday Trading System. He calls it HMA (Hull Moving Average). It is designed to be used with other trend identification indicator and to be applied on H1 time frame. It seems quite succesful.

    Just a confirmation. Hull Moving Average was created by Alan Hull, not by Clarence Chee. He just used it. If he said he created it, then he's a shameless scam. Just google for "hull moving average"

     

    MA can always NOT be traded as a standalone.

    There are many good systems which are purely based on MA. Maybe not the cross over, but purely on MA, no other indis.

     

    Well quite so far my experience with MA.......I can say MA is the best if you guys knows how to make use of it. I have traded several strategies in my trading life but now I back over to MA because of its certainty and simplicity.........

    Yeah, me too. I'm back with MAs only. No other indis beat MA imho. :D

  8. Re: DailyFX

     

    I have one person in dailyfx that i kind of trust. his name is ilya spivak. his method is simple, long term, and good risk reward ratio.

    Could you then be kind to share his system with us?

     

    regards,

  9. Re: (REQ) MURALERT NON-REPAINTING Indicator

     

    Perhaps I could help "translating" the valid and non-valid entry from the picture. Hope bro SEFC could confirm whether the below rules are correct or not?

     

    - Blue dot appear, price is below the MA --> non valid entry

    - Blue dot appear, price is above the MA --> valid entry

    - Red dot appear, price is above the MA --> non valid entry

    - Red dot appear, price is below the MA --> valid entry

    - Wait for the candle close before entering

     

    Regards,

  10. Re: (REQ) MURALERT NON-REPAINTING Indicator

     

    I do not see the difference between the false signal and the good signals.

    Is it that the moving average must be crossed within 1-2 bars after seeing the dot?

    Is it that a full candle must be completely above the moving average?

    I think it's because of the basic rules of MA trading technique.

     

    If price is below MA, only sell. If price is above MA, only buy.

    The 1st signal is buy signal, but the price is below MA (sell) so it's false.

    If you look carefully, the entry is at the tick signs, not after the signal.

     

    Is that correct bro SEFC?

     

    Regards,

  11. Re: Collect best indicators divided in categories

     

    It's a good idea fundamentally. However, imho, it would be quite vague. We need to give more definition of it. let me give you an example.

     

    Consider the cobra trading system that uses Moving Average. It uses the MA for:

    - trend indicator: if the SMA 72 up, then the trend is up and only trade based on the SMA

    - bands indicator: it uses SMA 72 high and SMA 72 low as the bands

    - Breakout indicator: it uses EMA 12 breakout as trading trigger signal

    - Support & resistance indicator: the EMA 12 low/high is used as S&R for trailing stop.

     

    So, where would we put moving average based on cobra system?

     

    Just my $0.02

     

    Regards,

  12. 4 PRIA dalam 1 Sel penjara,

    Ada,

    PEMERKOSA

    PEMBUNUH

    PSHYCO

    &GAY.

     

    PEMERKOSA blg, "Jika ada KUCING disini, akan kuperkosa dia!"

     

    PEMBUNUH blg, "Setelah kau selesai dgnnya, aku akan menyiksanya sampai mati"

     

    Si PHSYCO "OH Yeah! Setelah dia mati, kuperkosa kucing itu sampai aku mati!"

     

    Si GAY di pojok berkata dgn sangat lembut..

     

    "MEoooOOW" =D

    Yuuu.. MaRee...

  13. Hi guys,

     

    This is the Supernova system by Cryten as requested. Deya13 found it on ebay selling for almost $100. But this guy has shared it for free since Aug 2008. This system is quite good imho.

     

    http://www.4shared.com/file/237872489/f34dbd7d/SuperNova_MT_v111.html

     

    Regards,

     

    Ok so I look at the chart for setups, for a short setup I am looking for price to be cleanly below the green ma (t3 standard settings) So if going short you want red candles with no or few upper shadows and if going long blue candles with no or few lower shadows.

     

    The qqe alert is the crossing of the qqe indicator shown by blue/pink dots. Buy blue and pink sell, this is really just an alert and helps me pull the trigger, I do not blindly jump into a trade when a new dot forms. All indicators need to agree.

     

    Right you?re checking out the potential setup with regards to the above, now look at the momentum indicator, I only go short when it has crossed below the grey dotted line and directional movement index indicator has crossed so that the purple line is above blue vice versa for long.

     

    I look for setups from 2 am EST till 6 am EST, if you are late and missed any 100+ movements during this time be wary of trading as it will probably range until the US open. If there has been no big breakout it is safer to look for a setup after this time. Next best time to trade is us open. I have also noticed some good trades around 15:00 EST and 00:00 EST.

     

    It's up to you as long as hekein ashi is cleanly above or below the t3, momentum has cross the grey dotted line and directional movement index agrees it is a high probability trade to go with the qqe alert.

     

    Sometimes the qqe alert comes a bit early, wait for the other indicators to agree and you have less chance of the trade going against you right away to realise profit.

     

    As for profit taking I just trail price as I go. I am looking into Spudfyre's way, once up 20 pips lock in 7, once up 30 pips lock in 14 and once up 35 pips lock in 20. I think from there leave 20 pips locked and let it go, you can easily catch 100+ movements with GBP/JPY in 5min.

     

    Cryten

     

    Settings

    QQE Alert set to period 1

    Directional Movement Index 14

    Momentum 10

    T3 - period 8 exponential volume 0.7

  14. Re: REQ:800 plus pips a week systems

     

    I think the system is called: Supernova

     

    The 1st picture has T3 and QQE alert. The 2nd picture is very similar. The 1st indi is QQE visual and the 2nd is momentumVT.

     

    Supernova has quite a good performance. It's been shared for free for quite some time. Not really sure whether we have it on this forum though :D

     

    There are many people who browse forums for free, take the system for free and sell it on ebay. It doesn't mean that the system is a scam. But most of the time you are scammed alright, because it's free and you pay for it. Well, those things happen on ebay often so please be careful, less to the system, more to the seller.

     

    Regards,

     

    P.S. Deya13, the system that you have said (the one with no losing month) is very interesting. Could you please be kind and share it with us?

  15. Re: Has Elliot Wave improving your trading better?

     

    Elliot Wave is very famous and very controversial. I've read it somewhere (possibly on investopedia) that if you show 1 page printed chart to 10 elliot wave practitioner, you would find 8 different elliot wave drawing patterns from that same 1 page.

     

    That doesn't mean that EW is bad. It just means that EW has large deviation in interpretation and people who want to really study this, needs to study it right.

     

    I've tried to learn it once upon a time, but it is too confusing for me. I mean, I just lost in deciding which one is no.1, 3, or 4. So I give up and start learning something else.

     

    What fork4k said about "matching your personality" is absolutely correct. And if I may add, when you select a trading system, don't select 1 that is confusing or complicated. It's hard enough to make money using easy to understand system, so don't make it harder.

     

    Regards,

  16. Re: Why do most EA's fail ?

     

    I've read it at somewhere that the 1st reason most EAs fail are because EAs are created to predict the price (the left over) and not to predict the market (the real movement).

     

    Market consists of people (gov, banks, institutional traders, big individual traders, etc) People come and go in this financial markets, even big banks got liquidated. When most top players use some kind of similar strategy, they create the market movement. Each of them has preferred trading strategy. Thus when one of the top player goes out of this business, the market become "chaos" thus the EA strategy will fail. Then another big player comes along with it's holy grail strategy to beat other big players. Thus, the market becomes chaos once again. Thus, EA fails again, coz the algo is changing.

     

    e.g. Lehman Bro went to bankrupt, it is considered as one of the biggest financial player. It must have it's own "holy grail" strategy. When it went bankrupt, the market will change.

     

    I also read on one of the book, George Soros said that he will only trade when he feels something on his spine. As a big player GS is surely somewhat moving the market. Now, how can EA predicts GS's spine feeling? :D

     

    Just my 2 cents.

     

    Regards,

  17. Re: Price Action, Naked trading only

     

    Here is Sam Konna's fibo indicator. The open / pivot / target price is not drawn as the buffers are limited to 8. You could use other indi to view the open price or just mentally remember them. It also draws historically.

     

    Sam, if you would be kind enough, please check it whether it's working properly or not. I mean whether the numbers are correct or have errors.

     

    Regards,

     

    //+------------------------------------------------------------------+
    //| Sam Konna Price Action                                           |
    //| Programmed by William for Indo-Investasi.com                     |
    //+------------------------------------------------------------------+
    
    #property indicator_chart_window
    #property indicator_buffers 8
    #property indicator_color1 Blue
    #property indicator_color2 Red
    #property indicator_color3 Red
    #property indicator_color4 Blue
    #property indicator_color5 Green
    #property indicator_color6 Green
    #property indicator_color7 Green
    #property indicator_color8 Green
    //---- buffers
    double P1Buffer[];
    double P2Buffer[];
    double P3Buffer[];
    double P4Buffer[];
    double P5Buffer[];
    double P6Buffer[];
    double P7Buffer[];
    double P8Buffer[];
    //+------------------------------------------------------------------+
    //| Custom indicator initialization function                         |
    //+------------------------------------------------------------------+
    int init(){
      SetIndexBuffer(0, P1Buffer);
      SetIndexBuffer(1, P2Buffer);
      SetIndexBuffer(2, P3Buffer);
      SetIndexBuffer(3, P4Buffer);
      SetIndexBuffer(4, P5Buffer);
      SetIndexBuffer(5, P6Buffer);
      SetIndexBuffer(6, P7Buffer);
      SetIndexBuffer(7, P8Buffer);
      //----
      SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 3);
      SetIndexStyle(1, DRAW_LINE, STYLE_SOLID, 3);
      SetIndexStyle(2, DRAW_LINE, STYLE_SOLID, 1);
      SetIndexStyle(3, DRAW_LINE, STYLE_SOLID, 1);
      SetIndexStyle(4, DRAW_LINE, STYLE_SOLID, 1);
      SetIndexStyle(5, DRAW_LINE, STYLE_SOLID, 1);
      SetIndexStyle(6, DRAW_LINE, STYLE_SOLID, 1);
      SetIndexStyle(7, DRAW_LINE, STYLE_SOLID, 1);
      //----
      SetIndexLabel(0,"Resistance");
      SetIndexLabel(1,"Support");
      SetIndexLabel(2,"Sell");
      SetIndexLabel(3,"Buy");
      SetIndexLabel(4,"Strong Resistance");
      SetIndexLabel(5,"Break Buy");
      SetIndexLabel(6,"Strong Support");
      SetIndexLabel(7,"Break Sell");
      //----
      return(0);
     }
    //+------------------------------------------------------------------+
    //| Custor indicator deinitialization function                       |
    //+------------------------------------------------------------------+
    int deinit(){
      ObjectDelete("SK_R");
      ObjectDelete("SK_S");
      ObjectDelete("SK_Sell");
      ObjectDelete("SK_Buy");
      ObjectDelete("SK_SR");
      ObjectDelete("SK_BBuy");
      ObjectDelete("SK_SS");
      ObjectDelete("SK_BSell");
      return(0);
     }
    //+------------------------------------------------------------------+
    //| Custom indicator iteration function                              |
    //+------------------------------------------------------------------+
    int start(){
      int i,counted_bars = IndicatorCounted();
      double mn,r,s,o,dayi,sell,buy,SR,BBuy,SS,BSell;
      //---- check for possible errors
      if(counted_bars < 0) return(-1);
      if(counted_bars > 0) counted_bars--;  
      int limit = Bars - counted_bars;
      //----
      for(i = limit - 1; i >= 0; i--){
          dayi = iBarShift(Symbol(), PERIOD_D1, Time[i], false);
          o = iOpen(NULL,PERIOD_D1,dayi);
          mn=MathFloor(o/3*100)*Point;
          if (Digits==5)mn=mn*10;
                 
          r=o+mn;
          s=o-mn;
          sell=r-((r-s)*0.146);
          buy=r-((r-s)*0.854);
          SR=(r-s)*0.146+r;
          BBuy=(r-s)*0.236+r;
          SS=s-((r-s)*0.146);
          BSell=s-((r-s)*0.236);
          
          //----
          P1Buffer[i] = r;    SetPrice("SK_R", Time[i], r, Green);
          P2Buffer[i] = s;    SetPrice("SK_S", Time[i], s, Green);
          P3Buffer[i] = sell;   SetPrice("SK_Sell", Time[i], sell, Red);
          P4Buffer[i] = buy;    SetPrice("SK_Buy", Time[i], buy, Blue);
          P5Buffer[i] = SR;   SetPrice("SK_SR", Time[i], SR, Green);
          P6Buffer[i] = BBuy;   SetPrice("SK_BB", Time[i], BBuy, Green);
          P7Buffer[i] = SS;   SetPrice("SK_SS", Time[i], SS, Green);
          P8Buffer[i] = BSell;   SetPrice("SK_BS", Time[i], BSell, Green);
       }
    //----
      return(0);
     }
    //+------------------------------------------------------------------+
    //|                                                                  |
    //+------------------------------------------------------------------+
    void SetPrice(string name, datetime Tm, double Prc, color clr)
     {
      if(ObjectFind(name) == -1)
        {
          ObjectCreate(name, OBJ_ARROW, 0, Tm, Prc);
          ObjectSet(name, OBJPROP_COLOR, clr);
          ObjectSet(name, OBJPROP_WIDTH, 1);
          ObjectSet(name, OBJPROP_ARROWCODE, SYMBOL_RIGHTPRICE);
        }
      else
        {
          ObjectSet(name, OBJPROP_TIME1, Tm);
          ObjectSet(name, OBJPROP_PRICE1, Prc);
          ObjectSet(name, OBJPROP_COLOR, clr);
          ObjectSet(name, OBJPROP_WIDTH, 1);
          ObjectSet(name, OBJPROP_ARROWCODE, SYMBOL_RIGHTPRICE);
        } 
     }
    //+------------------------------------------------------------------+

×
×
  • Create New...