Forum

Trade at the perfect time

Hey guys, there are indexes where there is an opening auction, and the better positioned you enter that auction, the more chances you have to win. The lion starts at 10:00:00 am and due to the latency I have I always come in a little late. Therefore, I wanted to analyze latency line and send the

How to calculate trades by time

Hey guys, i want some help to detect the robot that operates VWAP or TWAP! I saw that a simple way would be to analyze how many trades per second/minute the stock are having. So I would need the information on the amount of trades and also an element that calculates something like speed. 10 trades

Help with RSI rule

Hey guys, there is a simple code from another platform that I wanted to replicate in metatrader, could you help me? if (rsi( 2 , 0 ) < lowest(rsi( 2 , 0 ), 10 )[ 1 ]) then BuyAtMarket; I need to create a buy signal for when the 2-period rsi is less than the 2-period rsi of the last 10 periods

Help needed!

Hey guys, I really need your help to do 3 things: 1) Closing price for the last 100 days; 2) Average daily variation based on those last 100 days; 3) Linear Regression , to compare this average variation of an asset A with an asset B You guys already did something like that, were you able to help

Stop Loss according to time

Hi all, In my strategy, I found that when a trade lasts more than 50 seconds and the result is negative, it will remain negative until a certain stop loss is reached. To anticipate this condition, I would like to place a stop loss over time. I managed to finish the code up to this point, but for

Draw the profit on the candle that closed the transaction

Hello guys, I'm trying to create an element that writes the profit from the last transaction above on the candle that ended the transaction. So far I've been able to get here, but I still haven't been able to make it do what I need. void DrawProfit() { double profit = 0 ; ulong ticket;