Fortune Telling Collection - Fortune-telling birth date - Love trading currency index-Longmen operation line (quadratic graph, source code)

Love trading currency index-Longmen operation line (quadratic graph, source code)

notext 1 = 50;

draw(notext 1,color = " # ffffff ");

A 1= (close? -? Lowest (low, 6))? /? (Highest (high, 6)? -? Lowest (low, 6))? *? 100;

Transaction line =ema(a 1, 3);

Draw (transaction line, color = "# ff00ff");

notext2 =

DrawIf (transaction bank? & lt=? RefBefore (transaction line, 1), transaction line, color = "green");

Strong and weak line =ema (transaction line, 30);

MB 1 = highest (transaction line, 27);

Mb2 = lowest (transaction line, 27);

Cloud =refBefore(mb 1, 1);

Draw (cloud,color = " # c 08000 ");

Horizon =refBefore(mb2, 1);

Draw (horizon,color = " # 99 eeee ");

DrawIf (transaction bank? & gt? Ema (Cloud, 1), transaction line, color = "red");

DrawIf (transaction bank? & lt? Ema (horizon, 1), trading line, color = "blue");

Aa 1=refBefore (transaction bank, 1)? & lt? Trading bank? & amp& amp? RefBefore (transaction line, 1)? & lt? RefBefore (transaction line, 2)? & amp& amp? Count (transaction line? & lt? Horizon, 4)? & gt? 1;

drawtickbetween if(aa 1? & gt? 0. 1, 0, the highest (cloud, 500), color = "yellow ",fill = true, linewidth =1);

drawtickbetween if(aa 1? & gt? 0. 1, 0, (cloud, 500)? *? 0.95,color="#000000 ",fill=true,line width = 0.0);

DrawText(aa 1, (maximum, 500))? *? 0.93,"? Longmen ",color =" yellow ");