<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
	<title>Сообщения от Vadim59 - HAMAHA  Биткоин форум. Торговля на бирже</title>
	<id>tag:hamaha.net,cc10e055ebaec6602dd117dc51b45b03</id>
	<link href="/rss/username:Vadim59" rel="self" />
	<link href="https://hamaha.net/Vadim59" rel="alternate" type="text/html" />
	<subtitle>Сообщения от Vadim59 - HAMAHA  Биткоин форум. Торговля на бирже</subtitle>
	<updated>2013-10-09T09:07:44+04:00</updated>
	<entry>
		<title>Vadim59: Добрый день ребята! Помогите проп</title>
		<id>tag:hamaha.net,2013-10-09T09:07:44+04:00,f169ce6a5ab7686135f5b39c5529bb65</id>
		<link rel="alternate" type="text/html" href="https://hamaha.net/view/post:403012/Vadim59-.html" />
		<content type="html"> Vadim59:Добрый день ребята! Помогите прописать к формуле в ТОСе звуковой сигнал. Зарание всем спасибо!!!! Формула; declare lower; input length = 5; input capSpikesAt = 10; def VarP = round(length / 5); def VarA = Highest(high, VarP) - Lowest(low, VarP); def VarR1 = if VarA == 0 and VarP == 1 then AbsValue(close - close[VarP]) else VarA; def VarB = Highest(high, VarP)[VarP + 1] - Lowest(low, VarP)[VarP]; def VarR2 = If VarB == 0 and VarP == 1 then AbsValue(close[VarP] - close[VarP * 2]) else VarB; def VarC = Highest(high, VarP)[VarP * 2] - Lowest(low, VarP)[VarP * 2]; def VarR3 = If VarC == 0 and VarP == 1 then AbsValue(close[VarP * 2] - close[VarP * 3]) else VarC; def VarD = Highest(high, VarP)[VarP * 3] - Lowest(low, VarP)[VarP * 3]; def VarR4 = If VarD == 0 and VarP == 1 then AbsValue(close[VarP * 3] - close[VarP * 4]) else VarD; def VarE = Highest(high, VarP)[VarP * 4] - Lowest(low, VarP)[VarP * 4]; def VarR5 = If VarE == 0 and VarP == 1 then AbsValue(close[VarP * 4] - close[VarP * 5]) else VarE; def LRange = ((VarR1 + VarR2 + VarR3 + VarR4 + VarR5) / 5) * 0.2; def Var0 = if AbsValue(close - close[1]) &amp;gt; (high - low) then AbsValue(close - close[1]) else (high - low); def LRange2 = if high == low then Average(AbsValue(close - close[1]), 5) * 0.2 else Average(Var0, 5) * 0.2; def range = high + low; def delta = high - low; def median = range / 2; def floatingAxis = Average(median, length); def dynamicVolatilityUnit = if length &amp;lt;= 7 then LRange2 else LRange; def relativeHigh = (high - floatingAxis) / dynamicVolatilityUnit; def relativeLow = (low - floatingAxis) / dynamicVolatilityUnit; def relativeOpen = (open - floatingAxis) / dynamicVolatilityUnit; def relativeClose = (close - floatingAxis) / dynamicVolatilityUnit; def _high = Min(relativeHigh, capSpikesAt); def _low = MarelativeLow, -capSpikesAt); plot backgroundColor = if _low &amp;gt; 0 then _low else if _high &amp;lt; 0 then _high else double.nan; backgroundColor.SetPaintingStrategy(paintingStrategy.HISTOGRAM); backgroundColor.SetDefaultColor(color.black); backgroundColor.SetLineWeight(2); plot &amp;quot;High&amp;quot; = _high; &amp;quot;High&amp;quot;.SetPaintingStrategy(paintingStrategy.HISTOGRAM); &amp;quot;High&amp;quot;.AssignValueColor(if &amp;quot;High&amp;quot; &amp;gt;= 9.5 then GetColor(5) else GetColor(1)); &amp;quot;High&amp;quot;.SetLineWeight(2); plot &amp;quot;Low&amp;quot; = _low; &amp;quot;Low&amp;quot;.SetPaintingStrategy(paintingStrategy.HISTOGRAM); &amp;quot;Low&amp;quot;.AssignValueColor(if &amp;quot;Low&amp;quot; &amp;lt;= -9.5 then GetColor(6) else GetColor(1)); &amp;quot;Low&amp;quot;.SetLineWeight(2); plot &amp;quot;Open&amp;quot; = Min(AbsValue(relativeOpen), capSpikesAt) * relativeOpen / AbsValue(relativeOpen); &amp;quot;Open&amp;quot;.SetStyle(curve.POINTS); &amp;quot;Open&amp;quot;.SetLineWeight(1); &amp;quot;Open&amp;quot;.SetDefaultColor(color.white); &amp;quot;Open&amp;quot;.hide(); plot &amp;quot;Close&amp;quot; = Min(AbsValue(relativeClose), capSpikesAt) * relativeClose / AbsValue(relativeClose); &amp;quot;Close&amp;quot;.SetStyle(curve.POINTS); &amp;quot;Close&amp;quot;.SetLineWeight(1); &amp;quot;Close&amp;quot;.AssignValueColor(if &amp;quot;Close&amp;quot; &amp;lt; &amp;quot;Open&amp;quot; then GetColor(5) else GetColor(5)); &amp;quot;Close&amp;quot;.hide(); plot zero = 0; zero.SetDefaultColor(color.white); plot &amp;quot;Moderately O/B&amp;quot; = 4; plot &amp;quot;Moderately O/S&amp;quot; = -4; &amp;quot;Moderately O/B&amp;quot;.SetDefaultColor(color.yellow); &amp;quot;Moderately O/S&amp;quot;.SetDefaultColor(color.yellow); plot &amp;quot;Significantly O/B&amp;quot; = 8; plot &amp;quot;Significantly O/S&amp;quot; = -8; &amp;quot;Significantly O/B&amp;quot;.SetDefaultColor(color.red); &amp;quot;Significantly O/S&amp;quot;.SetDefaultColor(color.red);</content>
		<published>2013-10-09T09:07:44+04:00</published>
		<updated>2013-10-09T09:07:44+04:00</updated>
	</entry>
	<entry>
		<title></title>
		<id>tag:hamaha.net,2013-08-14T09:53:55+04:00,c4636fea92a09302a77416325e0eaa54</id>
		<link rel="alternate" type="text/html" href="https://hamaha.net/view/post:384877/Vadim59-.html" />
		<content type="html"> Vadim59:Добрый день всем. Ребята хто может написать PLOT для индикатора Stohastic Momentum Index в thinkoswim, что бы выдавал сигналы на пересечении полос! Всем зарание СПАСИБО</content>
		<published>2013-08-14T09:53:55+04:00</published>
		<updated>2013-08-14T09:53:55+04:00</updated>
	</entry>
	<entry>
		<title>Vadim59: @oleg0406 Добрый день Олег. Хотел спро</title>
		<id>tag:hamaha.net,2013-07-01T19:48:38+04:00,3a7919300b19794d6f3e18da7863a3c3</id>
		<link rel="alternate" type="text/html" href="https://hamaha.net/view/post:371283/Vadim59-oleg0406_Добрый_день_Олег__Хотел_спросить.html" />
		<content type="html"> Vadim59:@oleg0406 Добрый день Олег. Хотел спросить - переделали индикатор с МТ4 под ТОС?</content>
		<published>2013-07-01T19:48:38+04:00</published>
		<updated>2013-07-01T19:48:38+04:00</updated>
	</entry>
	<entry>
		<title>Vadim59: Доброе время суток всем. Я нашол ф</title>
		<id>tag:hamaha.net,2013-06-30T12:42:58+04:00,e2623763e13079817b79654b9cff14d3</id>
		<link rel="alternate" type="text/html" href="https://hamaha.net/view/post:370912/Vadim59-.html" />
		<content type="html"> Vadim59:Доброе время суток всем. Я нашол формулу для TOSа, только она выдаёт сигналы на 2, 3 свечи позднее чем надо. Может кто то сможет формулу переработать, чтобы сигналы выдавала в реальном времени. Заранее всем спасибо! Формула: def triggerSell = if(if(close[-1] &amp;lt; close,1,0) and (close[-2] &amp;lt; close[-1] or close[-3] &amp;lt;close[-1]),1,0); def triggerBuy = if(if(close[-1] &amp;gt; close,1,0) and (close[-2] &amp;gt; close[-1] or close[-3] &amp;gt; close[-1]),1,0); rec buySellSwitch = if(triggerSell, 1, if(triggerBuy, 0, buySellSwitch[1])); def thirdBarClosed = if(isNan(close[-3]),0,1); plot SBS = if(triggerSell and thirdBarClosed and !buySellSwitch[1], high, if(triggerBuy and thirdBarClosed and buySellSwitch[1], low, double.nan)); SBS.setStyle(curve.POINTS); SBS.setPaintingStrategy(paintingStrategy.LINE_VS_SQUARES); SBS.setLineWeight(2); SBS.setDefaultColor(color.white);</content>
		<published>2013-06-30T12:42:58+04:00</published>
		<updated>2013-06-30T12:42:58+04:00</updated>
	</entry>
</feed>

