5 EMA Pine Script - view

Need Pine script with below conditon
Candle bar should be in differnt colour
It closed above 5 EMA
It's high or low didn't touch 5 EMA at all
It closed below 5 EMA
It's high or low didn't touch 5 EMA at all
please help
Need Pine script with below conditon
Candle bar should be in differnt colour
It closed above 5 EMA
It's high or low didn't touch 5 EMA at all
It closed below 5 EMA
It's high or low didn't touch 5 EMA at all
please help

Related

Apple watch series 3 or series 5 for development device?

I wish to start developing apps for the apple watch and I wonder if I can get just the series 3 model without cellular capability as the series 5 is a little too pricey for me. What am I missing if I don't get the series 5 and cellular capability?
Series 3 should be fine since the important part is that you'll have a physical device to test on. The Series 4 and Series 5 have rounded corners, more space on the display, and a bottom region outside of the safe area. Just make sure the 40mm and 44mm sizes are also tested in Simulator or SwiftUI previews.

How to Store 3D panorama data in Image?

We are thinking in tex.stackexchange of the thread Mouse Control of 360 Video in Beamer how to store 3D data in a picture. Stepping size is 10 degrees. In matrix, it means 36x18 projections (=648 individual image files). All of them could be stored in a single image. However, we are not sure how. I can do 2D panorama viewer. I am trying to do the 3D viewer such that the result has a manageable size (so 10 degree step size).
Proposal #1
ASCII example of equispaced font where 9 (=18/2) panorama pictures of the hemisphere on top of each other for each angle; everything can be in one picture
1 2 3 4 ... 34 35 36
___2D-panorama #1__ 1
___2D-panorama #2__ 2
________etc________ 3
___________________ 4
___________________ ...
___________________ 8
___2D-panorama_ #9_ 9
How to Store 3D panorama data in Image?

How can I teach the NLP Splitter

Please give me directions:
How can I "teach" the splitter to split such paragraph:
The paper is 7 cm. length. What is the painter name? the size of the picture is 5 cm. x 8 cm.
into 3 parts.
and not to 5 parts as done by default:
1) The paper is 7 cm.
2) length.
3) What is the painter name?
4) the size of the picture is 5 cm.
5) x 8 cm.
Thanks, Aryeh.
The tokenizer is entirely rule-based so you can add custom abbreviations to it. You will have to edit PTBLexer.flex and recompile it using JFlex.
See also "stanford corenlp, splitting sentences, abbreviation exceptions".

iOS Simulator 100% Scale isn't 100% [duplicate]

This question already has answers here:
How to resize the iPhone/iPad Simulator?
(12 answers)
Closed 4 years ago.
When I choose 100% scale in iOS Simulator, the resolution of the simulator doesn't match the resolution of the physical device. Here's a screenshot of iPhone 6 Plus being simulated at 100% on my 20 inch ACD (1680x1050), which should have a width of 1080px:
But it doesn't. Does this happen to anyone else?
How can I fix it?
I think your simulator is displaying at 100%.
iPhone 6 Plus renders at 1242 x 2208 pixels. That seems to match your screenshot.
The problem is that the phone itself displays at 87% to fit its 1080 x 1920 display.

Image moving across screen at the Speed of Light [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Would it be possible to write a program that can make an image, lets say a circle the size of a dime, move across your computer screen back and forth at the speed of light having a monitor that is lets say 20 inches wide; if not, then would it be possible to make the image move across the screen at 50 or 100 mph??
Would it be possible to write a program that can make an image, lets say a circle the size of a dime, move across your computer screen back and forth at the speed of light having a monitor that is lets say 20 inches wide
The speed of light is 299,792,458 meters per second. Your screen is about half a meter across, and refreshes about 60 times a second. In a single refresh of the screen, your dime would've had to have crossed the screen five million times.
You can simulate this, though. Just draw a dime-height horizontal bar across the screen.
50 mph is 22.352 meters per second, so you're not going to see anything particularly useful at that speed either.
The speed of light is approximately 186,282 miles per second, which is 11,802,827,520 inches per second. On your 20 inch monitor it would bounce back and forth 590,141,376 times per second. We'll be generous and say that the refresh rate of your monitor is 120 Hz, meaning you'd only be seeing 1 out of every 4,917,845 bounces. This is if the dot could be drawn instantaneously as it was needed.
It wouldn't not be possible since real speed of light is hardly acheived by anything at all. Even considering a perfect screen working only with optic wire, you would still have to at least travel a distance from the computer to the screen to make and object moving. That signal would travel a distance requiring time and thus, would reduce the overall speed at which your object is traveling on the screen.
50 to 100 mph is absolutely not comparable to the speed of light. It should pose no problem to do so.

Resources