Найти Посты: #If

 thinkorswim
Подскажите как переписать индикатор МТ4 Super-signals_v2.mq4 для thinkorswim? indicator_chart_window indicator_buffers 4 indicator_color1 Yellow indicator_color2 Lime indicator_color3 Red indicator_color4 Aqua indicator_width1 1 indicator_width2 1 indicator_width3 1 indicator_width4 1 //input properties extern int dist2 = 21; extern int dist1 = 14; extern bool alertsOn = true; extern bool alertsOnCurrent = true; extern bool alertsMessage = true; extern bool alertsSound = true; extern bool alertsEmail = false; double b1[]; double b2[]; double b3[]; double b4[]; int init() { SetIndexBuffer(0,b1); SetIndexBuffer(1,b2); SetIndexBuffer(2,b3); SetIndexBuffer(3,b4); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,334); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,333); SetIndexStyle(2,DRAW_ARROW); SetIndexArrow(1,233); SetIndexStyle(3,DRAW_ARROW); SetIndexArrow(0,234); return(0); } int start() { int counted_bars=IndicatorCounted(); int i,limit,hhb,llb,hhb1,llb1; if(counted_bars<0) return(-1); if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; limit=MathMax(limit,dist1); limit=MathMax(limit,dist2); // // // // // for (i=limit;i>=0;i--) { hhb1 = Highest(NULL,0,MODE_HIGH,dist1,i-dist1/2); llb1 = Lowest(NULL,0,MODE_LOW,dist1,i-dist1/2); hhb = Highest(NULL,0,MODE_HIGH,dist2,i-dist2/2); llb = Lowest(NULL,0,MODE_LOW,dist2,i-dist2/2); b1[i] = EMPTY_VALUE; b2[i] = EMPTY_VALUE; b3[i] = EMPTY_VALUE; b4[i] = EMPTY_VALUE; double tr = iATR(NULL,0,50,i); if (i==hhb) b1[i]=High[hhb] +tr; if (i==llb) b2[i]=Low[llb] -tr; if (i==hhb1) b3[i]=High[hhb1]+tr/2; if (i==llb1) b4[i]=Low[llb1] -tr/2; } // // // // // if (alertsOn) { int forBar = 1; if (alertsOnCurrent) forBar = 0; if (b1[forBar] != EMPTY_VALUE && b3[forBar] != EMPTY_VALUE) doAlert("strong sell";); if (b1[forBar] != EMPTY_VALUE && b3[forBar] == EMPTY_VALUE) doAlert("sell";); if (b1[forBar] == EMPTY_VALUE && b3[forBar] != EMPTY_VALUE) doAlert("minor sell or exit buy";); if (b2[forBar] != EMPTY_VALUE && b4[forBar] != EMPTY_VALUE) doAlert("strong buy";); if (b2[forBar] != EMPTY_VALUE && b4[forBar] == EMPTY_VALUE) doAlert("buy";); if (b2[forBar] == EMPTY_VALUE && b4[forBar] != EMPTY_VALUE) doAlert("minor buy or exit sell";); } return(0); } // // // // // void doAlert(string doWhat) { static string previousAlert="nothing"; static datetime previousTime; string message; string TimePeriod; if (Period()== 1) TimePeriod = "1 MIN"; if (Period()== 5) TimePeriod = "5 MIN"; if (Period()== 15) TimePeriod = "15 MIN"; if (Period()== 30) TimePeriod = "30 MIN"; if (Period()== 60) TimePeriod = "1 HR"; if (Period()== 240) TimePeriod = "4 HR"; if (Period()== 1440) TimePeriod = "DAILY"; if (Period()== 10080) TimePeriod = "WEEKLY"; if (Period()== 43200) TimePeriod = "MONTHLY"; if (previousAlert != doWhat || previousTime != Time[0]) { previousAlert = doWhat; previousTime = Time[0]; // // // // // message = StringConcatenate(Symbol()," at ", TimePeriod, " Super signal : ",doWhat); if (alertsMessage) Alert(message); if (alertsEmail) SendMail(StringConcatenate(Symbol(),"Super signal ";),message); if (alertsSound) PlaySound("alert2.wav";); } }

Проголосовало: 0

Дмитрий
Привет все ребята подскажите где взять формулы для ТОСА! ATR и V объем! спасибо

Проголосовало: 0

Forex Promoter
 Акции в игре на сегодня
Компании торгуются выше на пост маркете, реакция на отчёты: PDII +30.3%, TTWO +5.2%, SUMR +4.2%, HMIN +4.2%, PSDV +3.8%, SANW +3.5%, NTI +3.2%, IOC +2.0%, CPA +0.7%, SUPN +0.4%, TEAR +0.3%, WX +0.3%. Компании торгуются выше на пост маркете, реакция на новости: NSPH
+15.4% (объявила согласование сотрудничества с Hitachi High-Technologies), CEMP
+7.5% (подписали эксклюзивную лицензию и соглашение о развитии Solithromycin с Toyama Chemical Co., Ltd., дочерней компанией FUJIFILM Holdings Corporation в Японии), GWRE
+0.8% (приобрели Millbrook), VZ
+0.6% (Verizon Communications получат денежные выплаты агрегирования $ 3,85 млрд. и Vodafone Group Plc получат денежные выплаты агрегирования $ 3,15 млрд.), IDXX
+0.6% (увеличения доли программ РЕПО и рефинансирования возобновляемой кредитной линии - $ 4 млн.)

Проголосовало: 0

Александр
Lesnikov  
 thinkorswim
Господа, а подскажите-ка фильтр для ватчлиста, который бы подсвечивал rsi wilder меньше значения?

Проголосовало: 0

Алексей
May 8, 2013 the economic news Greenwich Mean Time 7:37 International and unified strategy to trade helps to avoid the risks and the new wave of crisis projected target price levels Euro Dollar 12985 gold in 1480 Brent crude 103.00 Dollar Yen 100.5
May 8, 2013 the economic news Greenwich Mean Time

Проголосовало: 0

Forex Promoter
 Акции в игре на сегодня
Компании торгуются выше на пост маркете, реакция на отчёты: SNTS +12.4%, MELI +10.6%, NLS +8.4%, BSFT +8%, MPO +6.2%, MKTG +5.9%, HIMX +5.8%, PODD +5.8%, ININ +3.7%, EOG +3.7%, PEGA +3.6%, NOAH +2.5%, USU +2.3%, NOG +2.2%, EVTC +2%, SHO +1.9%, MMLP +1.4%, ROSE +1.3%, FSLR +1.3%, CUTR +1.3%, CSU +0.9%, SGY +0.8%, PAA +0.7%, NCLH +0.6%, GWAY +0.5%, VNTV +0.5%. Компании торгуются выше на пост маркете, реакция на новости: HMA
+2.5% (Glenview Capital раскрыты 14,56% активных акций), ETP
+1.2% (LPG экспорт/импорт проект), LINE
+0.7% (Berry Petroleum (BRY) ранее объявили о слиянии с Linn Energy), VNTV
+0.5% (объявили гарантированное вторичное размещение 38,6 млн. обыкновенных акций за счет средств, управляемых Advent International Corporation и Fifth Third Bank; также сообщили о прибыли), PCRX
+0.4% (объявили о выпуске двух новых стадий использования Exparel)

Проголосовало: 0

Ара
Pattern Recognition And Tape Reading Skill. When there is a real institutional buyer or seller in a stock, they never show their hand until they are almost done. Think about it, a real buyer is not going to say to the world, look at me, I have so much stock to buy, please lift all the offers so I have to pay up to get my stock. No, he is showing that bid because he has been buying the stock all day with no bids and now, that is all the stock he has left and wants to get hit. And he will get hit. When you see these bids, you sell into them hard all day long provided the stock is weak and you know there are sellers in the stock. Trying to buy stocks with large bids and sell stocks with large offers is a sign of a dumb trader that jumps in front of size only to see that size hit and then quickly is sitting on a losing trade. Most of the time, especially with small and mid cap stocks, you would see 100 shares on the bid or maybe 300 shares on the bid, and it would be stepping up all day long. You never see the bid get hit, or if you did, you would see 300 shares bid, then 2k shares would go off at the bid and he would still be there with 300 bid. Very classic. This guy has a lot of stock to buy. And he would never show his hand. When a large offer would show up, the dumb traders would quickly run to sell. The buyer would be there or the specialist buying all the cheap shares from the dumb traders. When the dumb traders were done selling, the 300 share bid would step to the size offer and suddenly the offer would get lifted in one print, bamm, gone. Now those 300 shares are stepping up again and the dumb traders are all bitching about how the stock is manipulated. This would go on all day every day. The dumb traders would never learn. If the stock is strong and near the high of the day, you would be looking to buy the stock. But in general, even if the stock is strong, if he is showing size, it means that is probably all he has left and he will be done and the stock will trade lower the rest of the day. Remember, the reason the buyer is showing his hand is because he has already bought all his stock. He will never show his hand if he still has stock to buy. Would you? When there is a buyer in the stock he usually has a level where he wants to buy the stock. As the day goes on and other buyers come into the stock, this level goes higher and higher, hence the bid stepping up. The key is to find these levels. They usually are not at round numbers and they are not at key support levels. It could be something like 100.57. You will notice there is a bid at .55 for 200 shares and you will see large prints going off at .57. You will never see the stock trade at the bid. This is your buyer. You would want to be buying the stock around this area. And since you know the buyer is resting at .57, as soon as the price trades, you know to get out. Pattern recognition skills are very important. You need to find the pattern. Every specialist is different. One of the things you will notice with very strong or a very weak stock is the charts are very smooth. If you are seeing a lot of volatility, there probably isn't a real buyer there, but rather a lot of momentum traders. You may be fooled by the size. You might mistake them for large institutions. The difference is, traders may trade size, but there is nothing behind it that is why the stocks drop so fast and go back and forth. If it were a real fund with hundreds of thousands of shares to buy or millions, they would be bid for that stock. You wouldn't see sharp drops. Being able to know the difference is paramount. Specialist knows that the buyer has size to buy and he is going to help him work the order. The specialist knows who the size players are. He knows who the buyers and sellers are and how much stock they have to buy and sell. That is his job. The specialist is also interesting in making money and if he has a big buyer at his post, he is going to want to buy as much stock as he can. Now how he is going to accomplish that if he is showing the full size of the buyer? The specialist cannot get long on an uptick and cannot get short on a downtick. He needs to buy on downticks. He needs you to sell your stock to him. He will never show you the size of the buyer. He will do everything he can to make the stock look weak. He will step up on 100 or 200 shares. Tape reading has not changed in a 100 years. The bottom line is, real institutional buyers and sellers never show their size until they are done. It's all patterns. When a buyer is accumulating stock, he will usually bid in even amounts; you will see 500 or 300 on the bid. Keep in mind, this is a trick, he has far more than 300 shares to buy. But what you will see are the prints, 5k goes off, 10k goes off, 25k goes off, so on. When he is done, he will show you his bid. And this bid will usually be an odd number. When you see a size bid show up for 13,600 shares. Hit that bid as fast as you can. He's done! Now if you see him come back for 300 shares because he has been bidding 300 all day. You might want to get back in. Also, other things to look for are uptick bids. If you are still seeing uptick bids, he is still there. The key here is pattern recognition. You have to identify the patterns. It's very much like a game of chess. He will telegraph his moves. You just have to catch them.

Проголосовало: 0

Ара
Rally base drop, drop base drop, resistance, Fibonacci, Elliot Wave, and on and on…all attempts to figure out where price will turn in a market. For today’s piece, I thought I would literally take a page right out of our Professional Trader course to help share the picture that represents real supply or demand in a market. We will also look at a recent trade example from one of our live trading rooms, the Extended Learning Track (XLT). For today’s lesson, let’s focus on the supply side as that is what we focused on in a recent XLT session. Notice the pattern, Rally – Base – Drop. This is the picture of supply that helps you be a willing seller high up on the supply and demand curve. While some may look at the Drop – Base – Drop as a supply level, keep in mind it is found in the middle of moves, unlike the Rally – Base – Drop that is found farther out at the extremes. With any picture of supply, you need to make sure it is very “fresh” meaning there are still significant unfilled sell orders in that area (price level). The entry once the picture above is produced is to short a rally back up to that supply level. The “drop” from the level tells us supply exceeds demand in that area. We sell short at the proximal line with a protective buy stop just above the distal line and that’s the sell setup. Again, keep in mind that a section that comes later in the course deals with the ever important “Odds Enhancers” which are the filter that helps us identify the best levels with the strongest supply and demand imbalances so make sure you understand those before trying this at home. I have also written about them in prior articles. The yellow shaded box represents supply in the QQQ. Notice the pattern prior to the yellow box, the yellow box itself, and after: Rally – Base – Drop. Once price rallied back up to that level, the shorting opportunity is at hand if you wish to take the trade. These are typical of our early morning income trades. This is not about taking many trades in a session, it’s about taking the high probability ones that meet our criteria. There is nothing fancy about this, no indicators or oscillators or conventional chart patterns, there are not many different strategies, there is simply one. Buy where institutions are buying and sell where they are selling. Another way to say that is, buy where the smart money is buying and sell where the smart money is selling. The purpose of this article was to help you identify what the picture of that looks like on a chart. Of course, the Odds Enhancers help this process immensely and are key to identifying the key levels.

Проголосовало: 0

Forex Promoter
 Акции в игре на сегодня
Компании торгуются выше на пост маркете, реакция на отчёты: REGI +13.7%, YELP +10.7%, HDSN +9.9%, ISSI +7.1%, PGTI +4.9%, MDAS +4.8%, STX +4.8%, JDSU +3.5%, ATML +3.5%, DX +2.7%, SFLY +2.5%, BALT +2.5%, ANIK +2.4%, STAA +2.3%, V +2.2%, TTS +1.8%, LRE +1.8%, WLT +1.7%, PRU +1.7%, OEH +1.4%, CBS +1.3%, CRL +1.1%, IPHI +1.1%, EXL +1%, UNM +1%. Компании торгуются выше на пост маркете, реакция на новости: IFT
+27.6% (возобновляемый кредит $ 300 млн.), HBIO
+6.2% (подтвердили план спин-оффа Harvard Apparatus Regenerative Technology, Inc.), WWAV
+5.7% (Dean Foodsобъявила спин-офф WhiteWave Foods Company, NXST
+0.7% (объявили вторичное размещение 3,5 млн. акций)

Проголосовало: 0

Ара
We want to buy at strong demand levels where the supply is very thin and prices are likely to rise. We want to sell at supply levels where the supply of stock overwhelms the feeble demand that may be there. Prices will halt and reverse when the current trend no longer has the pressure to sustain itself and the opposite pressure exerts itself. We must focus on how strong the opposing pressure is at those levels. For example, we buy at demand levels because they were turning points in the past. They are levels where prices could not continue to drop and started to rise. This occurs as the supply is becoming exhausted as sellers dump shares onto the market. Eventually, prices become so cheap that willing buyers jump in and support the price. When the demand from these buyers exceeds the existing supply from sellers, prices will rise. We focus on that area as an area of demand where we will buy again in the future. When we enter into a long trade, we want to buy at the strongest level of demand in order to have a high probability for success. Most traders think incorrectly that all turning points where prices rose will act as demand. We need to be selective in our trading. We want to find the strongest levels of demand for the best trading opportunities. Those strong levels identify themselves in the way that price leaves the level. Think of a glass filled with water. If you grab hold of the glass and it is filled with lukewarm water, you will be able to hold the glass for as long as you’d like. However, if you grab a glass filled with scalding hot water, you are likely to let go of it very quickly. Demand levels work the same way. If prices enter that area and then move sideways or slowly leave the area, there is not strong buying pressure there and it is a weaker demand level. However, if prices barely enter demand and move quickly away, there is strong buying pressure there and you want to use those areas as buying points in the future. Supply levels work the same way with selling pressure dominating buyers.

Проголосовало: 0

Фильтр

Что искать
Тип постов
По людям В группе Дата
Наш канал