Forum

working with 2 metatraders

I have 2 monitors with different mt4, At first monitor(mt4) I attach all major currency pairs and all in H1 period, and the other monitor only show D1 period. the question is : how If I click GBPUSD in first monitor, and the other monitor automaticaly show GBPUSD in D1 period ? Is there any

How to run "Closeall" scipt in my indicator ?

Hallo, I want to add my "close all trades" script to my indicator, can someone explain how to add the codes to my indicator ? thanks

what wrong with my While Loop

I want to loop the program until new candle occurs static datetime newbar; newbar = Time[ 0 ]; while (newbar == Time[ 0 ]) { Print("Still Old candle"); } Print("Now new candle occurs"); every program run this While Operation always

Can I put separate windows indicator at the top of chart screen ?

Default separate indicator like MACD or CCI it puts on bottom of the chart, is there any way to put it at the top of the chart ? tk

How to create Candlestic bar ?

I modified Heiken Ashi to be Yearly Candlestick Chart. But it use Histogram to draw the candles. I want to draw the candle like the real one candle ( not use histogram ), is there any way to do that ? Here I attach the indicator and the image

Can I change the Candlebar to line chart ?

I want to modify Heiken Ashi Indicator. When I attach Heiken Ashi Indicator I want the background to be blank ( Candlebar change to line chart, and the line chart color to be black). What must I to put in Init Section ? So I only see the clean Heiken Ashi in my chart. And I want do it without change